fix(shader): account for dead UAV reads in barrier test #4328
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4328
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4327"
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?
@Blitzball996 on GitHub · 2026-11-30 18:56 UTC · original
Blitzball996:fix/shader-barrier-dead-uav-test→main· +795 −825 · 33 files · 11 commits · closed without mergingWhat changed
The shader-barrier test inserted a UAV
buffer_load_dwordwhose result was never used. The standaloneBARRIERSpass keeps the intervening barrier because the read is present. The fullALLpipeline removes the dead read, then safely coalesces the barrier. The test now asserts those two distinct outcomes.Validation
split_lds_wave32_read_after_read_barrier_coalescing_and_paritytest passes locally with the pinned toolchain and DXC.git diff --checkpasses.victory-shadertest run reported 533 passed and 3 failures at local DXIL container validation (Pipeline State Validation); 10 tests were ignored.This changes test expectations only. It does not alter emitted shader code or claim a runtime performance change.
@tyr0nsur on GitHub · 2026-11-30 23:29 UTC · original
Independent check against current main
e1251c31, prompted by #4563. The targeted test fails on main inneg_uav_load_between_reads:ALLemitsBWBRRBWBRand the test expectsBWBRBRBWBR. Cherry-picking this PR's265f73caonto that same main passes the whole targeted test on the same Windows machine. The recorded patterns agree with the report (0andBARRIERS:BWBRBRBWBR;ALL:BWBRRBWBR). No product shader changes were needed for this check.@trustno1-coder on GitHub · 2026-12-01 18:44 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed