[pr-fix][shaders] Route 'no wave32 lowering' into the retry ladder #108

Open
CRCODE22 wants to merge 2 commits from CRCODE22/Darner:fix/issue-66-wave32-retry-ladder into main
First-time contributor

Summary

Programs in WIDE_SKIP_DEFAULT (like CS_TemporalResolve1_Alpha, hash 34992f2b65a789a5) were refused with
o wave32 lowering for this wave64 program, but the retry ladder in mit_strict never opened for them because
eeds_every_lane() did not recognise that message. The folded form with ordered LDS (which the test
efused_programs_fold_with_ordered_lds promises) was never tried at runtime.

Add the message to
eeds_every_lane() in mit/lower/analysis.rs so the ladder opens and the exact forms can be taken.

Testing

  • cargo test -p darner-shader --lib lower::analysis — 5 passed
  • Needs: in-game before/after of the same spot on a 32-lane card (RTX). This changes the translated form of 34992f2b (temporal resolve). Glass and alpha surfaces matter most.

Fixes #66

## Summary Programs in WIDE_SKIP_DEFAULT (like CS_TemporalResolve1_Alpha, hash 34992f2b65a789a5) were refused with o wave32 lowering for this wave64 program, but the retry ladder in mit_strict never opened for them because eeds_every_lane() did not recognise that message. The folded form with ordered LDS (which the test efused_programs_fold_with_ordered_lds promises) was never tried at runtime. Add the message to eeds_every_lane() in mit/lower/analysis.rs so the ladder opens and the exact forms can be taken. ## Testing - cargo test -p darner-shader --lib lower::analysis — 5 passed - **Needs**: in-game before/after of the same spot on a 32-lane card (RTX). This changes the translated form of 34992f2b (temporal resolve). Glass and alpha surfaces matter most. ## Related Fixes #66
Programs in WIDE_SKIP_DEFAULT (like CS_TemporalResolve1_Alpha, hash
34992f2b65a789a5) were refused with 'no wave32 lowering for this wave64
program', but the retry ladder in emit_strict never opened for them because
needs_every_lane() did not recognise that message. The folded form with
ordered LDS (which the test refused_programs_fold_with_ordered_lds promises)
was never tried at runtime.

Add the message to needs_every_lane() in emit/lower/analysis.rs so the
ladder opens and the exact forms can be taken.

This changes the translated form of 34992f2b (temporal resolve) on every
32-lane card. An in-game before/after of the same spot is needed to verify
the denoiser pass now runs correctly, especially on glass and alpha surfaces.

Fixes #66
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u 'fix/issue-66-wave32-retry-ladder:CRCODE22-fix/issue-66-wave32-retry-ladder'
git switch 'CRCODE22-fix/issue-66-wave32-retry-ladder'

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 'main'
git merge --no-ff 'CRCODE22-fix/issue-66-wave32-retry-ladder'
git switch 'CRCODE22-fix/issue-66-wave32-retry-ladder'
git rebase 'main'
git switch 'main'
git merge --ff-only 'CRCODE22-fix/issue-66-wave32-retry-ladder'
git switch 'CRCODE22-fix/issue-66-wave32-retry-ladder'
git rebase 'main'
git switch 'main'
git merge --no-ff 'CRCODE22-fix/issue-66-wave32-retry-ladder'
git switch 'main'
git merge --squash 'CRCODE22-fix/issue-66-wave32-retry-ladder'
git switch 'main'
git merge --ff-only 'CRCODE22-fix/issue-66-wave32-retry-ladder'
git switch 'main'
git merge 'CRCODE22-fix/issue-66-wave32-retry-ladder'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
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
TrustNo1/Darner!108
No description provided.