Shaders: reject side effects in simulated whole-wave sections #981

Manually merged
github merged 3 commits from github-bot/gh-981 into main 2026-11-29 08:21:51 +00:00 AGit
Owner

@⁠yumaste on GitHub · 2026-11-28 10:35 UTC · original
yumaste:nvidia/port-wave-side-effects → main · +76 −19 · 1 files · 3 commits · merged 2026-11-29 08:16 UTC

Port of Marvisak/VIctory#2874. The whole-wave simulator supplies symbolic values for instructions it skips. Stores, atomics, barriers, exports and loads into LDS cannot be represented as symbolic values alone. Reject such a section at the instruction's offset instead of silently dropping the effect.

Windows validation: cargo test -p victory-shader --locked --lib passed 295 tests (5 ignored). The synthetic tests cover a barrier, buffer store and buffer load into LDS inside a whole-wave section, plus classification of global loads into LDS.

**@⁠yumaste** on GitHub · 2026-11-28 10:35 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/981) `yumaste:nvidia/port-wave-side-effects` → `main` · +76 −19 · 1 files · 3 commits · merged 2026-11-29 08:16 UTC Port of Marvisak/VIctory#2874. The whole-wave simulator supplies symbolic values for instructions it skips. Stores, atomics, barriers, exports and loads into LDS cannot be represented as symbolic values alone. Reject such a section at the instruction's offset instead of silently dropping the effect. Windows validation: `cargo test -p victory-shader --locked --lib` passed 295 tests (5 ignored). The synthetic tests cover a barrier, buffer store and buffer load into LDS inside a whole-wave section, plus classification of global loads into LDS.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:31:10 +00:00
github-bot force-pushed github-bot/gh-981 from b3832d57b6 to 2dd0056c92 2026-11-28 20:28:52 +00:00 Compare
github-bot referenced this pull request from a commit 2026-11-29 00:27:22 +00:00
github manually merged commit afb129a0f1 into main 2026-11-29 08:21:51 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!981
No description provided.