test(shader): restrict wide LDS fixture to lane zero (TEST-LDS-WIDE-GPUAV) #1309
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!1309
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1309/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?
@BadgersMC on GitHub · 2026-11-24 21:40 UTC · original
BadgersMC:fix/lds-wide-fixture→main· +3 −3 · 2 files · 1 commits · merged 2026-11-25 02:36 UTCClaimed 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.@moffington on GitHub · 2026-11-24 22:04 UTC · original
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.
@QemmHD on GitHub · 2026-11-25 02:36 UTC · original
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 main3ff2a2adc(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).