tests: use an encodable scratch-store refusal control #1692
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!1692
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1692/head"
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?
@stan495 on GitHub · 2026-11-24 17:13 UTC · original
stan495:codex/compute-scratch-store-control→main· +13 −2 · 1 files · 1 commits · merged 2026-11-24 17:17 UTCRefs #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.