fix(shader): accept 3D image stores on 2D T#s #20792

Merged
brumskysb merged 2 commits from upstream-pr/20792 into main 2026-11-30 04:57:25 +00:00
brumskysb commented 2026-11-15 15:38:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by brumskysb on 2026-11-15T15:38:19Z.


What

A DIM 3D image_store through a 2D T# throws today (image descriptor is incompatible with the static runtime image interface): RuntimeImageModes offers a 2D-array runtime mode for a write-only DIM 3D storage image but no 2D mode.

The rule was measured on RDNA2 (gfx1036, Windows driver 31.0.22044.1) in #17807 (evidence gist https://gist.github.com/brumskysb/1dbfc6a1dddebdc046e43762747372ac): a DIM 3D image_store through a 2D T# (8x8 32_FLOAT, image_store v4, v[5:7], s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_3D) writes the lane's (x, y) texel when z is 0 and nothing when z is 1. With all z 0 it wrote all 64 texels and nothing outside the face, with all z 1 it moved 0 dwords, with mixed z it wrote exactly the z 0 lanes, and image_store_mip at mip 0 with z 0 matched. This is the store counterpart of the load rule already in EmitReadOp, and of #9249 for 2D-array T#s.

Change: ResourceMaterializer.cpp (3 lines added) offers a Dim2D mode after the Dim2DArray one for a write-only DIM 3D storage image; the relative order of the existing modes is unchanged and there is no new ImageResource field, so the shader disk cache encoder is untouched. SpirvImageEmitter.cpp (1 line changed) gates EmitWriteOp on z == 0 for a DIM 3D address on a 2D image, as it already does for a 2D-array address on a 1D image. Loads, samples and atomics are unchanged: the unit test still refuses a load+store through a 2D T# and an atomic through a UINT 2D T# whose plain store is accepted. Modes offered for a write-only 3D storage image: 50 on main, 75 here; the limit ImageTableAbi::MaxModes is 256.

Tests: a new execution test ImageStoreVolumeThroughPlane (three legs: all z 0, all z 1, z = lane & 1; 8x8 32_FLOAT 2D T#; expected values come from the rule above, not from the recompiler), a new unit case verifyPlaneVolumeStoreMode, and a debt fragment.

An existing test pinned the old refusal: verifyGuardedDescriptorSources stored through a 2D T# with DIM 3D and expected that to be refused. I repaired it by changing the DIM of that one instruction word (0xf0200f10, DIM 3D, to 0xf0200f20, DIM 1D_ARRAY), not by weakening the assertion; DIM 1D_ARRAY is refused with the same message. Other DIMs tried on this branch: CUBE and 2D_ARRAY are accepted, 2D_MSAA and 1D are refused with a different message. The repair does not depend on this change: with the two recompiler edits reverted and the new unit case removed, agc_shader_memory passes on main's sources.

Not measured and not tested: formats other than 32_FLOAT, multi-component dmasks, mip levels above 0, and a z other than 0 and 1 on a 2D T#. The recompiler applies the same rule to them, and the debt entry says so. The execution test covers image_store only (mip 0, 32_FLOAT, one dmask); image_store_mip shares EmitWriteOp but is measured on hardware at mip 0 only and is not separately tested here.

Debt entry length: the entry grows from 1,225 to 1,450 characters, over the 1,000-character guideline (check_conventions.py reports a warning, 0 errors). It is not trimmed because every sentence carries a measured condition.

Debt entry change, extracted by script from tools/debt_fold.py --show shader against docs/dev/debt/shader.md (the first 1140 characters of the entry are byte-identical; only the closing sentence differs):

  • Before: The recompiler implements the 2D-array store; a store through a 2D T# keeps throwing.
  • After: The recompiler implements the store through a 2D-array T#, which drops a layer past the array, and through a 2D T#, which drops every lane whose z is not 0. It applies the same rule to other formats, multi-component dmasks, mip levels above 0 and a z other than 0 and 1 on a 2D T#; none of those is measured.

Overlap: tools/pr_overlap.py fails closed (exit 2): it flags #16260 (ShaderMemory.cpp near line 12620, next to the new unit case) and could not compare 36 PRs that conflict with main. I read the patches of those 36 and of 42 more open PRs that touch ResourceMaterializer.cpp or SpirvImageEmitter.cpp (78 in all, from a snapshot of the open PRs taken 2026-11-15 07:47 MST): none adds a line that combines DIM 3D with a 2D image, and none implements this change. Four title searches found only unrelated PRs. Textual conflicts are possible; a duplicate was not found.

Evidence (logs, the overlap scripts and their output, the test-bed scripts): https://gist.github.com/brumskysb/0117427a8393feda23e0b69eacc506c5

Tested

All on Linux (Ubuntu 26.04.1 LTS, kernel 7.0.0-43-generic), Mesa lavapipe (llvmpipe, LLVM 21.1.8, Vulkan 1.4.79, mesa-vulkan-drivers 26.0.8), Khronos validation layer 1.4.363.1, Release build, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer, ctest -V. The loader line Insert instance layer "VK_LAYER_KHRONOS_validation" is in all 29 Vulkan test logs and was not found but was requested is in none; VUID- lines: 0 in all 40 runs, on main's sources and on the branch (no new ids). Head 229fb74cb4 on main 0510af2dcc.

  • RED, the two recompiler edits reverted, new tests intact: agc_driver_image_store_volume_through_plane fails with image descriptor is incompatible with the static runtime image interface (format 22), and agc_shader_memory fails with the same message from the new unit case.
  • Repair neutral on main: with the two recompiler edits reverted and the new unit case removed, agc_shader_memory passes.
  • GREEN on the branch, all seven pass: the new execution test (0.08 s), image_store_volume_through_array, image_store_array_through_volume, image_store_face_on_cube, image_store_line_through_plane, image_store_line_through_plane_array and agc_shader_memory. The five neighbouring execution tests also pass on main.
  • Mutation control (run on the earlier base 3725323f1f; the rebase touched none of these files): with only the z == 0 gate reverted and the 2D mode kept, the execution test fails with leg B (all z 1): texel (0, 0) with z 1 is 0x3f800000, expected 0xcdcdcdcd. Restored, it passes.
  • verifyPlaneVolumeStoreMode: a write-only DIM 3D store on a 2D T# selects a Dim2D mode; with read set it is refused; with a UINT 2D T# the store selects Dim2D, and flipping only atomic makes it refused. The unit negatives were not mutation-tested.
  • tools/debt_fold.py --check: pass. --show shader against docs/dev/debt/shader.md: the final sentence of this entry is the only change of ours (plus one unrelated fragment already on main). tools/check_conventions.py --base origin/main: 0 errors, 1 warning (debt length).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: llvmpipe (LLVM 21.1.8, 256 bits), Mesa 26.0.8 lavapipe (mesa-vulkan-drivers 26.0.8-1ubuntu0.3, Vulkan 1.4.79), Ubuntu 26.04.1 LTS; the rule itself was measured on gfx1036 (driver 31.0.22044.1) in #17807; this test was not run on that hardware
  • AI-assisted: yes

Summary by CodeRabbit

  • New Features
    • 3D storage image writes can now use eligible 2D texture views, enabling writes to the matching 2D slice.
  • Bug Fixes
    • Writes through a 2D view are now correctly limited to depth coordinate zero; writes from other depth coordinates are dropped.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5324302448 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/20792). Originally posted by [brumskysb](https://github.com/brumskysb) on 2026-11-15T15:38:19Z. --- ### What A DIM 3D `image_store` through a 2D T# throws today (`image descriptor is incompatible with the static runtime image interface`): `RuntimeImageModes` offers a 2D-array runtime mode for a write-only DIM 3D storage image but no 2D mode. The rule was measured on RDNA2 (gfx1036, Windows driver 31.0.22044.1) in #17807 (evidence gist https://gist.github.com/brumskysb/1dbfc6a1dddebdc046e43762747372ac): a DIM 3D `image_store` through a 2D T# (8x8 32_FLOAT, `image_store v4, v[5:7], s[8:15] dmask:0x1 dim:SQ_RSRC_IMG_3D`) writes the lane's (x, y) texel when z is 0 and nothing when z is 1. With all z 0 it wrote all 64 texels and nothing outside the face, with all z 1 it moved 0 dwords, with mixed z it wrote exactly the z 0 lanes, and `image_store_mip` at mip 0 with z 0 matched. This is the store counterpart of the load rule already in `EmitReadOp`, and of #9249 for 2D-array T#s. Change: `ResourceMaterializer.cpp` (3 lines added) offers a `Dim2D` mode after the `Dim2DArray` one for a write-only DIM 3D storage image; the relative order of the existing modes is unchanged and there is no new `ImageResource` field, so the shader disk cache encoder is untouched. `SpirvImageEmitter.cpp` (1 line changed) gates `EmitWriteOp` on z == 0 for a DIM 3D address on a 2D image, as it already does for a 2D-array address on a 1D image. Loads, samples and atomics are unchanged: the unit test still refuses a load+store through a 2D T# and an atomic through a UINT 2D T# whose plain store is accepted. Modes offered for a write-only 3D storage image: 50 on main, 75 here; the limit `ImageTableAbi::MaxModes` is 256. Tests: a new execution test `ImageStoreVolumeThroughPlane` (three legs: all z 0, all z 1, z = lane & 1; 8x8 32_FLOAT 2D T#; expected values come from the rule above, not from the recompiler), a new unit case `verifyPlaneVolumeStoreMode`, and a debt fragment. An existing test pinned the old refusal: `verifyGuardedDescriptorSources` stored through a 2D T# with DIM 3D and expected that to be refused. I repaired it by changing the DIM of that one instruction word (0xf0200f10, DIM 3D, to 0xf0200f20, DIM 1D_ARRAY), not by weakening the assertion; DIM 1D_ARRAY is refused with the same message. Other DIMs tried on this branch: CUBE and 2D_ARRAY are accepted, 2D_MSAA and 1D are refused with a different message. The repair does not depend on this change: with the two recompiler edits reverted and the new unit case removed, `agc_shader_memory` passes on main's sources. Not measured and not tested: formats other than 32_FLOAT, multi-component `dmask`s, mip levels above 0, and a z other than 0 and 1 on a 2D T#. The recompiler applies the same rule to them, and the debt entry says so. The execution test covers `image_store` only (mip 0, 32_FLOAT, one `dmask`); `image_store_mip` shares `EmitWriteOp` but is measured on hardware at mip 0 only and is not separately tested here. Debt entry length: the entry grows from 1,225 to 1,450 characters, over the 1,000-character guideline (`check_conventions.py` reports a warning, 0 errors). It is not trimmed because every sentence carries a measured condition. Debt entry change, extracted by script from `tools/debt_fold.py --show shader` against `docs/dev/debt/shader.md` (the first 1140 characters of the entry are byte-identical; only the closing sentence differs): - Before: The recompiler implements the 2D-array store; a store through a 2D T# keeps throwing. - After: The recompiler implements the store through a 2D-array T#, which drops a layer past the array, and through a 2D T#, which drops every lane whose z is not 0. It applies the same rule to other formats, multi-component `dmask`s, mip levels above 0 and a z other than 0 and 1 on a 2D T#; none of those is measured. Overlap: `tools/pr_overlap.py` fails closed (exit 2): it flags #16260 (`ShaderMemory.cpp` near line 12620, next to the new unit case) and could not compare 36 PRs that conflict with `main`. I read the patches of those 36 and of 42 more open PRs that touch `ResourceMaterializer.cpp` or `SpirvImageEmitter.cpp` (78 in all, from a snapshot of the open PRs taken 2026-11-15 07:47 MST): none adds a line that combines DIM 3D with a 2D image, and none implements this change. Four title searches found only unrelated PRs. Textual conflicts are possible; a duplicate was not found. Evidence (logs, the overlap scripts and their output, the test-bed scripts): https://gist.github.com/brumskysb/0117427a8393feda23e0b69eacc506c5 ### Tested All on Linux (Ubuntu 26.04.1 LTS, kernel 7.0.0-43-generic), Mesa lavapipe (llvmpipe, LLVM 21.1.8, Vulkan 1.4.79, mesa-vulkan-drivers 26.0.8), Khronos validation layer 1.4.363.1, Release build, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer`, `ctest -V`. The loader line `Insert instance layer "VK_LAYER_KHRONOS_validation"` is in all 29 Vulkan test logs and `was not found but was requested` is in none; `VUID-` lines: 0 in all 40 runs, on main's sources and on the branch (no new ids). Head `229fb74cb4` on `main` `0510af2dcc`. - RED, the two recompiler edits reverted, new tests intact: `agc_driver_image_store_volume_through_plane` fails with `image descriptor is incompatible with the static runtime image interface` (format 22), and `agc_shader_memory` fails with the same message from the new unit case. - Repair neutral on main: with the two recompiler edits reverted and the new unit case removed, `agc_shader_memory` passes. - GREEN on the branch, all seven pass: the new execution test (0.08 s), `image_store_volume_through_array`, `image_store_array_through_volume`, `image_store_face_on_cube`, `image_store_line_through_plane`, `image_store_line_through_plane_array` and `agc_shader_memory`. The five neighbouring execution tests also pass on main. - Mutation control (run on the earlier base `3725323f1f`; the rebase touched none of these files): with only the z == 0 gate reverted and the 2D mode kept, the execution test fails with `leg B (all z 1): texel (0, 0) with z 1 is 0x3f800000, expected 0xcdcdcdcd`. Restored, it passes. - `verifyPlaneVolumeStoreMode`: a write-only DIM 3D store on a 2D T# selects a `Dim2D` mode; with `read` set it is refused; with a UINT 2D T# the store selects `Dim2D`, and flipping only `atomic` makes it refused. The unit negatives were not mutation-tested. - `tools/debt_fold.py --check`: pass. `--show shader` against `docs/dev/debt/shader.md`: the final sentence of this entry is the only change of ours (plus one unrelated fragment already on main). `tools/check_conventions.py --base origin/main`: 0 errors, 1 warning (debt length). ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: llvmpipe (LLVM 21.1.8, 256 bits), Mesa 26.0.8 lavapipe (mesa-vulkan-drivers 26.0.8-1ubuntu0.3, Vulkan 1.4.79), Ubuntu 26.04.1 LTS; the rule itself was measured on gfx1036 (driver 31.0.22044.1) in #17807; this test was not run on that hardware - [x] AI-assisted: yes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * 3D storage image writes can now use eligible 2D texture views, enabling writes to the matching 2D slice. * **Bug Fixes** * Writes through a 2D view are now correctly limited to depth coordinate zero; writes from other depth coordinates are dropped. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
MarcZX10 commented 2026-11-20 13:01:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T13:01:00Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the code read supports the described write-only DIM 3D store behavior through a 2D T#.

What I ran

Reviewed head 229fb74cb46165f3bf166dffc709371a0ab86767. No commands or tests were run by me; the author reports Linux lavapipe tests and a separate RDNA2 hardware measurement. Read description.md, commits.md, diff.patch, manifest.json, and all included changed files. Read the changed lines and relevant context in ShaderMemory.cpp through repo_read.py; that file was excluded from the review folder because of its size. files.json was not available as a review document.

Results

Check Result Note
Changed code review passed Relevant changed code and test source read
Tests run by reviewer not run Author reports passing lavapipe tests
Physical console behavior not run Author reports a separate RDNA2 measurement

Findings

Blocking

None.

Non-blocking

None.

Not verified

No tests were run independently. The reported hardware measurement and author-reported test results were not independently confirmed. Only changed-line neighborhoods and relevant context were read for ShaderMemory.cpp, rather than its full text; all added lines in that file were inspected. No other changed file was excluded from reading.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5993092350 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/20792#pullrequestreview-5993092350). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T13:01:00Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the code read supports the described write-only DIM 3D store behavior through a 2D T#. ## What I ran Reviewed head `229fb74cb46165f3bf166dffc709371a0ab86767`. No commands or tests were run by me; the author reports Linux lavapipe tests and a separate RDNA2 hardware measurement. Read `description.md`, `commits.md`, `diff.patch`, `manifest.json`, and all included changed files. Read the changed lines and relevant context in `ShaderMemory.cpp` through `repo_read.py`; that file was excluded from the review folder because of its size. `files.json` was not available as a review document. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | Relevant changed code and test source read | | Tests run by reviewer | not run | Author reports passing lavapipe tests | | Physical console behavior | not run | Author reports a separate RDNA2 measurement | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified No tests were run independently. The reported hardware measurement and author-reported test results were not independently confirmed. Only changed-line neighborhoods and relevant context were read for `ShaderMemory.cpp`, rather than its full text; all added lines in that file were inspected. No other changed file was excluded from reading. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-30 01:02:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T01:02:48Z.

Review: APPROVED


Reviewed — looks good

The inspected code implements the described 3D image store through a 2D view and retains the stated restrictions on reads and atomics.

What I ran

Reviewed head f42bd82ad199a3a67122e238ecc2435822df4854 using repo_read.py to inspect the prepared diff and targeted repository code. I did not run commands or tests; test results in the description are author-reported.

Results

Check Result Note
Changed implementation passed Mode selection and z guard inspected
Tests not run Reported results were not independently run

Findings

Blocking

None in the code inspected.

Non-blocking

None.

Not verified

Read changed lines in ResourceMaterializer.cpp, SpirvImageEmitter.cpp, ShaderMemory.cpp, ImageStoreVolumeThroughPlane.cpp, and fix-shader-3d-store-through-2d.md, plus the prepared description, commits, manifest, and diff. fix-volume-samples-on-2d-tsharp.md is deleted and has no new lines to inspect. The full contents of ShaderMemory.cpp and the deleted debt fragment were not read. Tests and hardware behavior were not independently verified; execution on PS5 gfx1013 and unmeasured formats, masks, mip levels, and z values remain unverified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6105794763 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/20792#pullrequestreview-6105794763). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-30T01:02:48Z. **Review:** APPROVED --- # Reviewed — looks good The inspected code implements the described 3D image store through a 2D view and retains the stated restrictions on reads and atomics. ## What I ran Reviewed head `f42bd82ad199a3a67122e238ecc2435822df4854` using `repo_read.py` to inspect the prepared diff and targeted repository code. I did not run commands or tests; test results in the description are author-reported. ## Results | Check | Result | Note | |---|---|---| | Changed implementation | passed | Mode selection and z guard inspected | | Tests | not run | Reported results were not independently run | ## Findings ### Blocking None in the code inspected. ### Non-blocking None. ## Not verified Read changed lines in `ResourceMaterializer.cpp`, `SpirvImageEmitter.cpp`, `ShaderMemory.cpp`, `ImageStoreVolumeThroughPlane.cpp`, and `fix-shader-3d-store-through-2d.md`, plus the prepared description, commits, manifest, and diff. `fix-volume-samples-on-2d-tsharp.md` is deleted and has no new lines to inspect. The full contents of `ShaderMemory.cpp` and the deleted debt fragment were not read. Tests and hardware behavior were not independently verified; execution on PS5 gfx1013 and unmeasured formats, masks, mip levels, and z values remain unverified. ## To get this to a good state Nothing is required.
coderabbitai[bot] commented 2026-11-30 01:03:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-30T01:03:52Z.

Review: COMMENTED


Additional comments: 1

core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp-2434-2436: 1

2434-2436: Minor · Functional Correctness · Quick win

Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Reject formats not settled by the measurement.

A 32_UINT 2D descriptor can select this mode, but the reported measurement covers 32_FLOAT only. Restrict this mode to formats whose behavior is settled. Based on learnings, “Cases the source doesn't settle throw,” and behavior not verified on hardware is recorded in technical debt.

Source: Learnings

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f8ca6712-fc98-4049-9ccd-15aa3ff77868
Commits

Reviewing files that changed from the base of the PR and between 335fd4626f and f42bd82ad1.

Files selected for processing: 6

  • core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
  • core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreVolumeThroughPlane.cpp
  • core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp
  • core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp
  • docs/dev/debt/changes/fix-shader-3d-store-through-2d.md
  • docs/dev/debt/changes/fix-volume-samples-on-2d-tsharp.md
Files with no reviewable changes: 1

  • docs/dev/debt/changes/fix-volume-samples-on-2d-tsharp.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6105799472 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/20792#pullrequestreview-6105799472). Originally posted by [coderabbitai[bot]](https://github.com/apps/coderabbitai) on 2026-11-30T01:03:52Z. **Review:** COMMENTED --- <!-- coderabbit-ai-generated:v1 --> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/message-square-off-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/message-square-off.svg" width="16" height="16" align="absmiddle" alt=""></picture> Additional comments: 1</summary><blockquote> <dl> <dd> <br> <details> <summary>core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp-2434-2436: 1</summary><blockquote> <dl> <dd> <br> `2434-2436`: **<picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/amber-16.svg" width="16" height="16" align="absmiddle" alt=""></picture> Minor** · **Functional Correctness** · **Quick win** <picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-warning.svg" width="20" height="20" align="absmiddle" alt=""></picture> **Unverified finding** Verification ran but could not confirm this finding. It is shown for review, not as a verified issue. **Reject formats not settled by the measurement.** A 32_UINT 2D descriptor can select this mode, but the reported measurement covers 32_FLOAT only. Restrict this mode to formats whose behavior is settled. Based on learnings, “Cases the source doesn't settle throw,” and behavior not verified on hardware is recorded in technical debt. <!-- cr-comment:v1:d12ff53ec4e1e5c23d23aa5f --> _Source: Learnings_ </dd> </dl> </blockquote></details> </dd> </dl> </blockquote></details> <h6> <details> <summary><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Review info</summary> <dl> <dd> <br> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: Unavailable - **Branch**: Unavailable - **File**: No configuration file from this repository applied - **Commit**: Unavailable - **Layers**: defaults - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `f8ca6712-fc98-4049-9ccd-15aa3ff77868` </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between 335fd4626fb803e03ae5049b382a3225fc2de8b0 and f42bd82ad199a3a67122e238ecc2435822df4854. </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 6</summary> <dl> <dd> <br> * `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` * `core/libs/prx/libSceAgcDriver/tests/execution/ImageStoreVolumeThroughPlane.cpp` * `core/shader/recompiler/Optimization/src/ResourceMaterializer.cpp` * `core/shader/recompiler/SpirvBackend/src/SpirvImageEmitter.cpp` * `docs/dev/debt/changes/fix-shader-3d-store-through-2d.md` * `docs/dev/debt/changes/fix-volume-samples-on-2d-tsharp.md` </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files with no reviewable changes: 1</summary> <dl> <dd> <br> * docs/dev/debt/changes/fix-volume-samples-on-2d-tsharp.md </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. </dd> </dl> </details> </h6> <!-- This is an auto-generated comment by CodeRabbit for review status --> <!-- coderabbit-review-publication v1 publication=882f4d54-852d-45e3-9dba-80deae657d2c attempt=e020736d-6e34-420c-bf65-496d3fade945 batch=1/1 -->
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!20792
No description provided.