Repository navigation
shader: support packed D16 compute array image stores - #2787
Conversation
Refs R0Y00#2742. Reuse the existing FP32 tracked array UAV binding (R0Y00#2777) and 2D D16 widening; retain pixel array and partial-mask refusals. Verify source-built ISA fixtures with LLVM 15 and production slot-67/slot-14 dispatch on WARP and RX 7900 XT. AI-assisted.
R0Y00
left a comment
There was a problem hiding this comment.
Independent review of 06574c9d. Windows 11 build 26200, MSVC Debug and Release, WARP 10.0.26100.9818 and RTX 4060 Laptop 32.0.16.1656 with debug enabled. All 12 selected CTests passed per configuration, zero skips, using ctest --preset <dev|release> --no-tests=error -j 1 -R '^startup_(compute_dispatch_(array.*|texture_(warp|hardware))|compute_image_store.*)$' -V. The d16 runtime dispatch verified each of the six physical slices (6,144 halfwords) with nonzero FirstArraySlice, both relative layers and both EXEC shapes. The malformed layer and EXEC controls differed at their expected counts, and a plain 2D UAV was refused with all 1,024 halfwords unchanged. The existing FP32 array and 2D store checks also ran. Pixel array publication remains outside this source-built proof.
Summary
Refs #2742. Follow up #2744 and #2777 with only the remaining full-mask packed D16 compute 2D-array image_store proof. Reuse the existing 2D D16 two-VGPR widening and tracked tex2da array UAV binding. No manifest or production runtime changes; pixel array stores remain refused. #2755 is separate pixel work.
Verification
Submission baseline
The original reviewed candidate was 7f50e55. Cherry-picked without changes onto d1b2be6 as 06574c9 (git range-diff equivalent). Fresh Debug and Release core regression selection: 15/15 each, no failures or skips (72.79 s / 73.39 s). LLVM 15.0.7 FP32, D16 and adjacent Mesh57 checks pass again. Existing 32/32 each receipts above refer to the original reviewed candidate. Git author: Buhe. Claim: #2742 (comment) .