Repository navigation
Conversation
|
Independent Windows GPU check of e333418a on an RTX 3080 Ti (driver 621.35, MSVC 19.44, Vulkan SDK 1.4.363.0). The GPU ran 32-lane subgroups with wave64 emulation. A synthetic compute shader moved two distinct scalar words through VCC and read back Synthetic inputs only. AI-assisted. |
al3xar
left a comment
There was a problem hiding this comment.
Tested e333418a1 on Windows 11 x64, Python 3.14, Vulkan SDK 1.4.363.0 (spirv-as / spirv-val, CPU-only, no game files): pass.
- Merges cleanly onto
upstream/main(67d877390). python -I -m unittest discover -s tests/semantic -p test_mov64_vcc_data.py -v: 2/2 passed.python -I -m unittest discover -s tests/semantic -p "*vcc*.py"and"*lane_mask*.py": all passed (58/58 lane-mask tests + all vcc tests).- Extra edge-case + SPIR-V validation check: translated both the straight data pair round-trip and a
v_cmp_lt_f32 vcc, v0, v1->s_mov_b64 vcc, s[2:3]->s_mov_b64 s[4:5], vcctransition; both emitOpStore %vcc_hi/OpLoad %uint %vcc_hicleanly and passspirv-as --target-env spv1.5+spirv-val --target-env vulkan1.2(exit 0). - Negative control (
tools/rdna2spirv.pyreverted toupstream/main, PR test kept):test_s_mov_b64_data_pair_through_vcc_preserves_both_halvesfails as expected ('OpStore %vcc_hi' not found, exit 1). python -I scripts/check_no_game_data.py tools/rdna2spirv.py tests/semantic/test_mov64_vcc_data.py: clean (exit 0).
AI-assisted.
|
AI-assisted review of
|
|
Tested
|
|
Addressed @GonZiin's two findings:
|
|
Tested Setup: cached CI
|
|
Tested
No Approved by @fortkolbast1. AI-assisted. |
Claimed in the coordination issue as: SHADER-1263 (#8186 (comment))
What and why
Fixes
SHADER-1263:Gen.mov64intools/rdna2spirv.pytreatedVCCas a lane mask even when it held 64-bit scalar data:s_mov_b64 vcc, s[r:r+1]whensis not a lane mask (or immediate) now stores the low and high dwords into%vccand%vcc_hiinstead of callingmask_src(s)(which turned a data pair into per-lane bits and droppedvcc_hi).s_mov_b64 s[r:r+1], vccwhen"vcc" not in self.cur_masksnow loads%vccand%vcc_hiinstead of duplicating%vccinto both halves.VCCkeep their existingmask_src/ duplicated-bit behavior.Added regression tests in
tests/semantic/test_mov64_vcc_data.py.Tested
nvidia-open615.71.09python3 -m compileall -q make_game.py tools tests: exit 0python3 -m unittest discover -s tests/semantic -p test_mov64_vcc_data.py -v: 2/2 passedpython3 -m unittest discover -s tests/semantic -p "*vcc*.py" -vand"*lane_mask*.py" -v: 58/58 lane_mask tests passed + all vcc tests passedpython3 -I scripts/check_no_game_data.py tools/rdna2spirv.py tests/semantic/test_mov64_vcc_data.py: exit 0AI-assisted: yes
Checklist
docs/design.md, with how it was confirmed.