test(shader): restrict wide LDS fixture to lane zero (TEST-LDS-WIDE-GPUAV) #1309
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!1309
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/lds-wide-fixture"
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?
Pull request successfully merged and closed
Claimed in the coordination issue as TEST-LDS-WIDE-GPUAV.
What and why
The wide LDS fixture let all lanes write the same shared addresses. The output words matched, but Vulkan GPU-assisted validation reported six shared-memory races. Move the existing lane-zero EXEC mask before the first LDS write and mirror the instruction move in the checked-in disassembly. This preserves the eight expected words, including the zero sentinel immediately after the b96 write.
Tested
5237898a, GPU-assisted validation reported six races with zero output mismatches. The patched fixture passed with zero validation errors and the same eight words. Both translated and passedspirv-val.test_lds_subdword_wide.pyalso passed in the focused run.git diff --checkpassed.GPUs tested: NVIDIA RTX 3060 Ti, driver 610.88, Windows 11. The test inputs are hand-written fixtures.
AI-assisted: yes.
Checklist
mainand merges cleanly.Independently verified
32c0b4e0against base4a50cafcon Linux, RTX 3060, NVIDIA 615.78.08, Khronos validation 1.4.363.No blocking issues found. This independently confirms the reported fix on Linux with an older validation-layer version.
AI-assisted testing.
Merging.
Why merged: Only lane 0 of the wide-LDS fixture writes, which removes a write race from the test. moffington verified it with GPU-assisted validation.
Why it's good: Docs tests pass. It's a fixture-only change.
Tested on Windows 11 / RTX 4070 SUPER: merged alone onto main b4b7756e8. With it in, the repo-consistency set (cmake/translator-deps, shader_stage_resume, runtime_paths, docs, make_game, no-game-data, run_semantic_tests, ctest_registration) gives 578 passed / 5 skipped / 0 failed, and check_no_game_data on the changed files is clean. git merge-tree against current main 3ff2a2adc (after #984): no conflicts. Security read of the three-dot diff: no binaries, game data, downloads, network calls or CI changes.
AI-assisted (Claude Code, Claude Opus 5.5).