mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:50:52 +01:00
[PR #1309] [MERGED] test(shader): restrict wide LDS fixture to lane zero (TEST-LDS-WIDE-GPUAV) #1339
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1339
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1309
Author: @BadgersMC
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @QemmHD
Base:
main← Head:fix/lds-wide-fixture📝 Commits (1)
32c0b4etest(shader): restrict wide LDS fixture to lane zero📊 Changes
2 files changed (+3 additions, -3 deletions)
View changed files
📝
runtime/test/shaders/cs_w32_lds_wide.asm(+2 -2)📝
tests/semantic/fixtures/disasm/cs_w32_lds_wide.s(+1 -1)📄 Description
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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.