tests: use an encodable scratch-store refusal control #1685
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1692"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by stan495 on 2026-11-24T17:13:13Z.
Refs #1655 and #1648.
The scratch-store refusal control used a two-operand string that does not assemble for gfx1013. Use
scratch_store_dword off, v15, s0befores_endpgmin the indexed fixture with the whole-register scratch-base write. The binary suite assembles the fixture, wraps it in a synthetic compute container, and requires the CLI to reportUnsupported compute instruction: scratch_store_dword off, v15, s0and leave no HLSL output. The change is confined to the test.Validation
Tested
f2b10057eeabf73dd8ff76203f0afbdd45484b38on top of80f413a76a96c297b32890a57450ace20ecd3237.python3 -B tests/compute_store_check.py binary llvm-mc-15 llvm-objcopy-15 libLLVM-15.so.1passed with LLVM 15.0.7.cmake --build --preset release --target offscreen_check --parallel 8passed.ctest --preset release --no-tests=error -R '^compute_store_aot_(scratch_base_)?(hardware|warp)$' -Vreported 4 passed, 0 failed, 0 skipped. Windows 11 build 26200.9974, Radeon RX 7900 XTX driver 32.0.32029.2010 and WARP driver 10.0.26100.9818. The scratch-base readbacks matched all 320 words, including guards, for both dispatch sizes on each adapter. The D3D12 debug layer was enabled and reported zero errors and warnings.