shader: keep the driver loop route for programs VICTORY_WAVE_WIDE_ONLY leaves out #132

Closed
github-bot wants to merge 1 commit from github-bot/gh-132 into main AGit
Owner

@⁠nullexxx on GitHub · 2026-11-27 03:23 UTC · original
nullexxx:fix/wave-wide-only-driver-loop → main · +3 −1 · 1 files · 1 commits · closed without merging

With VICTORY_WAVE_WIDE=1 set, driver_loop in emit() was turned off for every program, not only the ones VICTORY_WAVE_WIDE_ONLY names. Programs that only translate through that route then fail and their dispatches are dropped:

WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=477b52e73ddeb6f2 error=converter shader.dxil v1: GFX10 code at 0x218: a lane mask exchanged where not every lane runs is not supported

On an RTX 5080 these are the title's FSR4 passes 7–9 (fsr4_model_v07_fp8_no_scale_pass7/8/9: 17af85f170e66f30, 477b52e73ddeb6f2, 8b437ab61d8008fe). They translate with the switch unset and fail as soon as VICTORY_WAVE_WIDE=1 VICTORY_WAVE_WIDE_ONLY=<the two CS_TransmissionVolumetrics_Tiled* hashes, ...> is set. As a result, you can't have the volumetrics and the upscaler at the same time.

Change: driver_loop is now also allowed when wide_on is false, so a program the list leaves out translates exactly as it does with the switch unset. Listed programs and runs without the switch are unchanged. Failed translations aren't cached, so no cache version bump is needed.

Tested: release build, Series S profile, RTX 5080, GE-Proton11-14. With VICTORY_WAVE_WIDE=1 and a 4-hash VICTORY_WAVE_WIDE_ONLY list, the run log has zero does not translate lines: all four listed programs and the three FSR4 passes translate. There's no new unit test, because the existing tests need a container that reaches this path.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SEGb52ApL88uPMf5GhSz8K

**@⁠nullexxx** on GitHub · 2026-11-27 03:23 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/132) `nullexxx:fix/wave-wide-only-driver-loop` → `main` · +3 −1 · 1 files · 1 commits · closed without merging With `VICTORY_WAVE_WIDE=1` set, `driver_loop` in `emit()` was turned off for **every** program, not only the ones `VICTORY_WAVE_WIDE_ONLY` names. Programs that only translate through that route then fail and their dispatches are dropped: ```text WARN victory_gpu::pipeline: shader does not translate; its pipelines' draws are dropped stage="compute" hash=477b52e73ddeb6f2 error=converter shader.dxil v1: GFX10 code at 0x218: a lane mask exchanged where not every lane runs is not supported ``` On an RTX 5080 these are the title's FSR4 passes 7–9 (`fsr4_model_v07_fp8_no_scale_pass7/8/9`: `17af85f170e66f30`, `477b52e73ddeb6f2`, `8b437ab61d8008fe`). They translate with the switch unset and fail as soon as `VICTORY_WAVE_WIDE=1 VICTORY_WAVE_WIDE_ONLY=<the two CS_TransmissionVolumetrics_Tiled* hashes, ...>` is set. As a result, you can't have the volumetrics and the upscaler at the same time. **Change:** `driver_loop` is now also allowed when `wide_on` is false, so a program the list leaves out translates exactly as it does with the switch unset. Listed programs and runs without the switch are unchanged. Failed translations aren't cached, so no cache version bump is needed. **Tested:** release build, Series S profile, RTX 5080, GE-Proton11-14. With `VICTORY_WAVE_WIDE=1` and a 4-hash `VICTORY_WAVE_WIDE_ONLY` list, the run log has zero `does not translate` lines: all four listed programs and the three FSR4 passes translate. There's no new unit test, because the existing tests need a container that reaches this path. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01SEGb52ApL88uPMf5GhSz8K
With VICTORY_WAVE_WIDE=1 set, `driver_loop` was off for every program,
including those VICTORY_WAVE_WIDE_ONLY does not name. Programs that only
translate through that route then failed with "a lane mask exchanged where
not every lane runs is not supported" and their dispatches were dropped:
the title's FSR4 passes 7-9 (fsr4_model_v07_fp8_no_scale_pass7/8/9,
17af85f170e66f30, 477b52e73ddeb6f2, 8b437ab61d8008fe) on an RTX 5080.

A program the list leaves out (`wide_on` false) now takes the route as
with the switch unset; listed programs are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SEGb52ApL88uPMf5GhSz8K
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 03:27:06 +00:00
github-bot closed this pull request 2026-11-27 03:53:42 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-27 03:48 UTC · original

Thanks for tracing those FSR4 translation failures on the RTX 5080, @⁠nullexxx. Your fix is now on main via #136, with your authorship. The fallback applies to shaders outside the active allowlist and still honors VICTORY_WAVE_WIDE=0. The regression test exercises both paths, and only caches from a scoped opt-in get a new fingerprint.

**@⁠TaynanGT** on GitHub · 2026-11-27 03:48 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/132#issuecomment-7209281730) Thanks for tracing those FSR4 translation failures on the RTX 5080, @⁠nullexxx. Your fix is now on `main` via #136, with your authorship. The fallback applies to shaders outside the active allowlist and still honors `VICTORY_WAVE_WIDE=0`. The regression test exercises both paths, and only caches from a scoped opt-in get a new fingerprint.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.