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

Closed
CRCODE22 wants to merge 1 commit 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
CRCODE22 closed this pull request 2026-12-03 20:47:51 +00:00

Pull request closed

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!106
No description provided.