[pr-fix][shaders] Route 'no wave32 lowering' into the retry ladder #108
Loading…
Reference in a new issue
No description provided.
Delete branch "CRCODE22/Darner:fix/issue-66-wave32-retry-ladder"
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?
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
Related
Fixes #66
I ran the synthetic D3D12 test on this PR's published head,
df7e6d1d65c8. The two runs on an RTX 4060 matchedbd0de0cec244: the ordinary path produced the same generic refusal, the exact opt-in produced identical DXIL and the same 64 expected results, and the over-budget control reached the exact fold before returning the generic refusal.At this comparison,
emit_programstill returnsOk((_, Some(64)))for the successful initial lowering. That case already enters the ladder. Thesupportedclosure createsNO_WAVE32_LOWERINGafter the ladder, so the added equality cannot open it. For #66, theWAVE64-RETRY folded exactly (DARNER_EXACT64)trace can show the actual fold error if the opt-in was active. Detailed A/B and diagnostic on #66Pull request closed