shader: static Wave32 LDS hazard analysis for branched/disjoint compute (vitutu1#12 handover, stable-amd) #183

Open
Vladimir-Human wants to merge 1 commit from upstream-pr/183 into stable-amd
Vladimir-Human commented 2026-11-28 18:21:05 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by Vladimir-Human on 2026-11-28T18:21:05Z.


Re-port of #50 onto stable-amd (v26.11.6, 75022ba).
Supersedes #50 (which targeted main across disjoint branch histories).

Verification on stable-amd (commit a2ead5b, Cargo.lock untouched)

  • cargo check --workspace --tests --locked: passed
  • cargo test --locked -p victory-shader:
test result: ok. 332 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 271.01s
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
<!-- greyfinch-sync:PastiiJay/klbf-lab:issue:5543252468 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/183). Originally posted by [Vladimir-Human](https://github.com/Vladimir-Human) on 2026-11-28T18:21:05Z. --- Re-port of #50 onto `stable-amd` (`v26.11.6`, `75022ba`). Supersedes #50 (which targeted `main` across disjoint branch histories). ### Verification on `stable-amd` (commit `a2ead5b`, `Cargo.lock` untouched) - `cargo check --workspace --tests --locked`: passed - `cargo test --locked -p victory-shader`: ``` test result: ok. 332 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 271.01s test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s ```
HandshakeHackin commented 2026-11-28 18:28:16 +00:00 (Migrated from github.com)

Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-28T18:28:16Z.


There is a physical-hardware baseline for the four compute shaders that regressed in #50. I matched the four hashes from the earlier RTX 4080 report against three recent public gameplay logs. All four have a successful host compute pipeline on the RTX 4080 SUPER, RTX 5080 and RX 9070 XT. The 4080 SUPER and 9070 XT also have a first-bind record for all four. The 5080 has first-bind records for three, including both skinning passes. The renderer emits its host pipeline line only after D3D12 returns a pipeline.

These are runs from before this PR. They give the planned A/B a four-pipeline baseline across the three cards. They also show that the persistent missing faces in #173 occurred even though both skinning pipelines were created. RTX 4080 SUPER log · RTX 5080 log · RX 9070 XT log

<!-- greyfinch-sync:PastiiJay/klbf-lab:comment:7243814506 --> Imported from [PastiiJay/klbf-lab](https://github.com/PastiiJay/klbf-lab/pull/183#issuecomment-7243814506). Originally posted by [HandshakeHackin](https://github.com/HandshakeHackin) on 2026-11-28T18:28:16Z. --- There is a physical-hardware baseline for the four compute shaders that regressed in #50. I matched the four hashes from the earlier RTX 4080 report against three recent public gameplay logs. All four have a successful host compute pipeline on the RTX 4080 SUPER, RTX 5080 and RX 9070 XT. The 4080 SUPER and 9070 XT also have a first-bind record for all four. The 5080 has first-bind records for three, including both skinning passes. The renderer emits its `host pipeline` line only after D3D12 returns a pipeline. These are runs from before this PR. They give the planned A/B a four-pipeline baseline across the three cards. They also show that the persistent missing faces in #173 occurred even though both skinning pipelines were created. [RTX 4080 SUPER log](https://github.com/PastiiJay/klbf-lab/issues/173#issuecomment-7243611475) · [RTX 5080 log](https://github.com/PastiiJay/klbf-lab/issues/175#issuecomment-7243584489) · [RX 9070 XT log](https://github.com/PastiiJay/klbf-lab/issues/155#issuecomment-7243589764)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/183:upstream-pr/183'
git switch 'upstream-pr/183'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'stable-amd'
git merge --no-ff 'upstream-pr/183'
git switch 'upstream-pr/183'
git rebase 'stable-amd'
git switch 'stable-amd'
git merge --ff-only 'upstream-pr/183'
git switch 'upstream-pr/183'
git rebase 'stable-amd'
git switch 'stable-amd'
git merge --no-ff 'upstream-pr/183'
git switch 'stable-amd'
git merge --squash 'upstream-pr/183'
git switch 'stable-amd'
git merge --ff-only 'upstream-pr/183'
git switch 'stable-amd'
git merge 'upstream-pr/183'
git push origin 'stable-amd'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
PastiiJay/klbf-lab!183
No description provided.