upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/submit_frame_test.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-27 17:07:09 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-27 17:07:09 -0500
commitaa5915112d4bcca2d28e86c525f5679b8bccc6cb (patch)
tree784c90c998ab938326096c6e86397a27f2b592f2 /runtime/test/submit_frame_test.cpp
parent09d232fb6106f19798695278e8bbfc38a3f0cd89 (diff)
rdna2spirv: park pure scalar-spill VGPRs across all stages and wave sizes
Lower pure scalar-spill VGPRs (touched only by immediate-lane v_writelane_b32 with non-VGPR source and immediate-lane v_readlane_b32, with every read lane definitely written on all CFG paths) to parked %sgpr slots for both wave32 and wave64 across all shader stages, instead of emitting OpGroupNonUniformShuffle. Previously only wave64 VS/PS/GS parked pure scalar spills (halves_analysis), leaving wave32 fragment shaders shuffling spilled V# descriptors from lanes that can be inactive or unlaunched on small triangles or after discards (Vulkan SPIR-V UB returning stale physical VGPR bits, causing GPUVM read faults on RX 7900 XTX / RADV 26.3.1). Tested: - python3 -m unittest discover -s tests/semantic (6,393/6,393 pass) + new absent-lane wave32 PS regression test (195/195 targeted pass) - Retranslated all 1,173 v_writelane_b32 shaders (1,173/1,173 pass spirv-val) - Verified on RX 7900 XTX (RADV Mesa 26.3.1): two consecutive 240 s fast-load runs at 0.0 s warm graphics PSO compile time with zero GPUVM faults. AI-assisted: Antigravity (Gemini 4 Neon).
Diffstat (limited to 'runtime/test/submit_frame_test.cpp')
0 files changed, 0 insertions, 0 deletions