Repository navigation
cs_imgatomic_ext: use the volume T# key vk_store_test now expects (GPU-IMG-ATOMIC-EXT-VOLUME-TAG) - #1518
cs_imgatomic_ext: use the volume T# key vk_store_test now expects (GPU-IMG-ATOMIC-EXT-VOLUME-TAG)#1518PierreEbele wants to merge 1 commit into
Conversation
|
Tested
AI-assisted; synthetic fixtures only, no game data. |
|
[KEEP]
|
|
Checked
No game files. |
|
Checked
In the full suite on AI-assisted: yes |
|
Tested on an RTX 4060 (NVIDIA 610.88, Windows 11, Vulkan SDK 1.4.363, llvm-mc 21.1.8) at main Without this PR, A first-parent bisect of main puts the break at With the change applied, the full suite under AI-assisted (Claude Code). No game files. |
|
Tested on real AMD hardware: RX 7800 XT (RDNA3, GFX1101), AMD 26.11.2 (LLPC), Windows 11, main 3f81d46. Without this change: cs_imgatomic_ext fails 3 of 3 with "6 of 64 sint words differ; first word 32: got 0x0badf00d, expected 0x00000101", natively and under LEONIDA_W64_EMULATE=1. |
|
Tested on an Apple M3 (macOS 26.5.1) at
|
…g that ProjectLeonida#1518 adds (GPU-M3) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verified on current main (a73a57e) with Mesa llvmpipe on x86-64 (Mesa 25.2.8, LLVM 20.1.2, 256 bits, Ubuntu 24.04, no GPU). Runtime built with GCC and Ninja, llvm-mc 21.1.8.
AI-assisted: yes (Claude Code) |
|
Verified on Apple M5 Max, macOS 27.3 (26C5047e), MoltenVK 1.4.2. On Leonida Applied only this PR’s fixture diff from AI-assisted: yes. |
|
Verified on two real GPUs on Windows 10 22H2 (19045.6456), with this PR's change to runtime/test/shaders/cs_imgatomic_ext.asm applied on main 73516a2 (it applies cleanly), standalone Vulkan test programs built with llvm-mingw, llvm-mc 23.1.6:
run_gpu_tests.py --filter cs_imgatomic: cs_imgatomic, cs_imgatomic3d and cs_imgatomic_ext pass 3/3 ("all 64 words of the uint image, the sint image and the volume exact") on both GPUs, native and with LEONIDA_W64_EMULATE=1. On main alone, cs_imgatomic_ext fails on both in both modes ("6 of 64 sint words differ; first word 32: got 0x0badf00d, expected 0x00000101"). Full runs are in #2348. This was also checked earlier on Mesa llvmpipe. AI-assisted: yes (Claude Code) |
…U-IMG-ATOMIC-EXT-VOLUME-TAG) db19bbd gave the 4x4x4 volume in vk_store_test the D3D12 layer's whole-mip UAV tag (word 4 0x80000055, word 7 0xd7801800) and updated cs_imgatomic3d.asm to match. cs_imgatomic_ext.asm (ProjectLeonida#345) landed separately and still built the old key, so its six 3D cases missed the descriptor-table entry and the fixture failed on every device (6 of 64 sint words, first word 32 = 0x0badf00d). AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1bbf8a9 to
7bcb5ba
Compare
|
Confirmed on a GeForce GTX 1050 Ti 4 GB (Pascal), NVIDIA 582.66, Windows 10 19045 (profile S), test programs from MEASURED:
One detail that may be worth a line in the PR: on AI-assisted (Claude Code). |
cs_imgatomic_extfails on main (f783856) on every device:db19bbd gave the 4x4x4 volume in
runtime/test/vk_store_test.cppthe D3D12 layer's whole-mip UAV tag (word 40x80000055, word 70xd7801800) and updatedcs_imgatomic3d.asmto match.cs_imgatomic_ext.asm(#345) landed separately and still built the old0x55words in s12/s15. Its six 3D cases (swap/inc/dec/fmin/fmax/fcmpswap with glc, sint words 32..37) therefore missed the descriptor-table entry: the data registers kept their inputs and the volume was never touched.This PR changes only those two
s_mov_b32lines, the same edit db19bbd made tocs_imgatomic3d.asm.Tested on Mesa llvmpipe, Linux arm64. I ran
python3 -I scripts/run_gpu_tests.py --build runtime/build/linux --filter cs_imgatomicnatively, withLEONIDA_W64_EMULATE=1and withLEONIDA_BARY_FALLBACK=1:cs_imgatomic,cs_imgatomic3d,cs_imgatomic_ext: all 64 words exact);cs_imgatomic_extfails as above (the full suite fails the same way in all three modes); the other two pass.scripts/check_no_game_data.pyis clean on the changed file.Claimed in the coordination issue as: GPU-IMG-ATOMIC-EXT-VOLUME-TAG
AI-assisted.
🤖 Generated with Claude Code