Shaders: the tiled cascade shadow programs translate exactly on 32-lane hosts #1002

Open
github-bot wants to merge 1 commit from github-bot/gh-1002 into main AGit
Owner

@⁠brunofgmag on GitHub · 2026-11-25 15:36 UTC · original
brunofgmag:fx-shadow-exact → main · +609 −39 · 2 files · 1 commits · open

On a host with 32-lane waves (an RTX 4080 here), CS_ShadowRenderTiledCascadesAlphaCBPPPC (f133e35efed2a48a) was refused every frame with "a lane mask exchanged where not every lane runs" at 0x1eb4, so alpha-tested geometry cast no cascade shadows. Three programs of the same family (CS_ShadowRenderTiledCascadesCBPPPC 20b78ee12ecdb57d, CS_ShadowRenderTiledCascadesPPPC ce79e9eba7ae0348 and CS_ShadowRenderTiledMiscAlphaPPPC fa0bd10a35bfef3c) only translated through the approximate local-waves form. In game that drew the sun's light along characters' silhouettes in steps of about 16 pixels.

The ballot they need sits under per-lane regions that the retry forms could not remove. There were three reasons, and this PR fixes each one in ir.rs:

  • without_early_outs and without_skips now also take an s_cbranch_execnz over a far-jump trampoline (s_getpc_b64, s_add_u32, s_addc_u32, s_setpc_b64) to an end block. These programs are too long for a short branch to reach s_endpgm. A trampoline that does any work is still kept.
  • In the deep form of without_skips, a scalar phi whose arguments all resolve to one value counts as a copy of that value. The arguments are followed through copies and through other such phis. A phi that merges a real change is still a change.
  • unspill also pairs two lanes per save and restore site, not only per lane. The pairing is checked with reaching definitions, so a 64-bit exec saved into two VGPR lanes comes back as one mask even when one of those lanes holds another scalar elsewhere.

With the three fixes the ballot reaches the existing exact exchange_halves.

Measured with translate --list and VICTORY_HOST_WAVE=32 over 3,093 programs from one session:

  • 3,092 translated before this change and 3,093 after. No program that translated before is refused now.
  • 3,088 programs produce byte-identical DXIL.
  • The four above changed: f133 is new, and the other three moved from the approximate form to the exact one, with 47 to 153 group barriers each.

In game the steps along silhouettes are gone and frame time did not get worse (168 to 195 ms a frame in three runs, against about 200 to 240 before). No run lost the device.

The new tests in wave64_tests.rs are hand-written GFX10 words. One of them runs on the device and checks a gate where exactly one failing lane is in the upper half, which a per-half answer gets wrong. The victory-shader tests pass except stub_pipeline_is_created, which fails without dxil.dll on this machine as it does on main. Clippy for the workspace still stops at the four warnings that #982 fixes.

**@⁠brunofgmag** on GitHub · 2026-11-25 15:36 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002) `brunofgmag:fx-shadow-exact` → `main` · +609 −39 · 2 files · 1 commits · open On a host with 32-lane waves (an RTX 4080 here), `CS_ShadowRenderTiledCascadesAlphaCBPPPC` (f133e35efed2a48a) was refused every frame with "a lane mask exchanged where not every lane runs" at 0x1eb4, so alpha-tested geometry cast no cascade shadows. Three programs of the same family (`CS_ShadowRenderTiledCascadesCBPPPC` 20b78ee12ecdb57d, `CS_ShadowRenderTiledCascadesPPPC` ce79e9eba7ae0348 and `CS_ShadowRenderTiledMiscAlphaPPPC` fa0bd10a35bfef3c) only translated through the approximate local-waves form. In game that drew the sun's light along characters' silhouettes in steps of about 16 pixels. The ballot they need sits under per-lane regions that the retry forms could not remove. There were three reasons, and this PR fixes each one in `ir.rs`: - `without_early_outs` and `without_skips` now also take an `s_cbranch_execnz` over a far-jump trampoline (`s_getpc_b64`, `s_add_u32`, `s_addc_u32`, `s_setpc_b64`) to an end block. These programs are too long for a short branch to reach `s_endpgm`. A trampoline that does any work is still kept. - In the deep form of `without_skips`, a scalar phi whose arguments all resolve to one value counts as a copy of that value. The arguments are followed through copies and through other such phis. A phi that merges a real change is still a change. - `unspill` also pairs two lanes per save and restore site, not only per lane. The pairing is checked with reaching definitions, so a 64-bit exec saved into two VGPR lanes comes back as one mask even when one of those lanes holds another scalar elsewhere. With the three fixes the ballot reaches the existing exact `exchange_halves`. Measured with `translate --list` and `VICTORY_HOST_WAVE=32` over 3,093 programs from one session: - 3,092 translated before this change and 3,093 after. No program that translated before is refused now. - 3,088 programs produce byte-identical DXIL. - The four above changed: f133 is new, and the other three moved from the approximate form to the exact one, with 47 to 153 group barriers each. In game the steps along silhouettes are gone and frame time did not get worse (168 to 195 ms a frame in three runs, against about 200 to 240 before). No run lost the device. The new tests in `wave64_tests.rs` are hand-written GFX10 words. One of them runs on the device and checks a gate where exactly one failing lane is in the upper half, which a per-half answer gets wrong. The `victory-shader` tests pass except `stub_pipeline_is_created`, which fails without dxil.dll on this machine as it does on main. Clippy for the workspace still stops at the four warnings that #982 fixes.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:55:38 +00:00
Author
Owner

@⁠sambagarandawertanda on GitHub · 2026-11-25 16:21 UTC · original

Reproduced the f133e35efed2a48a failure on an RTX 3080 under Windows with the Series S profile. On a d44e4ae-based build, victory warm failed to translate it at GFX10 0x1eb4 with a lane mask exchanged where not every lane runs. An earlier gameplay trace also logged this exact shader as requested and unavailable at the first world frame. This is the pre-patch result. The PR still needs a run on this RTX 3080 to check the visual effect.

**@⁠sambagarandawertanda** on GitHub · 2026-11-25 16:21 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7167844373) Reproduced the `f133e35efed2a48a` failure on an RTX 3080 under Windows with the Series S profile. On a `d44e4ae`-based build, `victory warm` failed to translate it at GFX10 `0x1eb4` with `a lane mask exchanged where not every lane runs`. An earlier gameplay trace also logged this exact shader as requested and unavailable at the first world frame. This is the pre-patch result. The PR still needs a run on this RTX 3080 to check the visual effect.
Author
Owner

@⁠tippythetaidum on GitHub · 2026-11-25 16:31 UTC · original

Tested in the title on an RTX 5080 16 GB (32-lane waves), driver 621.14, Windows 11, Series X profile: the stepped sunlight along the character's edge is gone.

Build: diagnostics build of main 3973179 + #24 + #927 + #823 + #606 + #956 + this PR + #907. Default settings apart from #956's two switches and a local diagnostic of mine, which touch texture uploads, not shadows.

Translation: f133e35efed2a48a now translates and is bound from the first world frame. On the same base without this PR it was shader does not translate ... a lane mask exchanged where not every lane runs, every run. 20b78ee12ecdb57d, ce79e9eba7ae0348 and fa0bd10a35bfef3c translate and are bound too. No shader failed to translate in the run.

Picture: the opening cell shot, the character from behind against the sunlit window, compared across three runs.

  • Without this PR (two runs, one with #823 and one without), the sunlit edge of her shoulder steps in stairs of about 16 pixels.
  • With it, that edge is smooth with a soft rim of light. It's the symptom described above.

Stability: no errors and no device loss in the 10-minute run.

One run with the PR, one card.

AI-assisted (Claude Code, Claude Opus 5.5). Counts and descriptions only, nothing from the game attached.

**@⁠tippythetaidum** on GitHub · 2026-11-25 16:31 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7168116746) Tested in the title on an RTX 5080 16 GB (32-lane waves), driver 621.14, Windows 11, Series X profile: the stepped sunlight along the character's edge is gone. **Build:** diagnostics build of `main` `3973179` + #24 + #927 + #823 + #606 + #956 + this PR + #907. Default settings apart from #956's two switches and a local diagnostic of mine, which touch texture uploads, not shadows. **Translation:** `f133e35efed2a48a` now translates and is bound from the first world frame. On the same base without this PR it was `shader does not translate ... a lane mask exchanged where not every lane runs`, every run. `20b78ee12ecdb57d`, `ce79e9eba7ae0348` and `fa0bd10a35bfef3c` translate and are bound too. No shader failed to translate in the run. **Picture:** the opening cell shot, the character from behind against the sunlit window, compared across three runs. - Without this PR (two runs, one with #823 and one without), the sunlit edge of her shoulder steps in stairs of about 16 pixels. - With it, that edge is smooth with a soft rim of light. It's the symptom described above. **Stability:** no errors and no device loss in the 10-minute run. One run with the PR, one card. AI-assisted (Claude Code, Claude Opus 5.5). Counts and descriptions only, nothing from the game attached.
Author
Owner

@⁠Danigamer05 on GitHub · 2026-11-25 19:20 UTC · original

Confirmed on Turing: RTX 2080 SUPER 8 GB (32-lane waves, driver 621.01), Ryzen 7 3700X, Windows 11, Series S profile.

Tree: vitutu1/victory-perf ffed22d + #683, #610, #823 and this PR (cherry-picked cleanly), diagnostics build.

  • Offline (victory translate --list, VICTORY_HOST_MAX_WAVE=32, the whole package): before, f133e35efed2a48a failed with "a lane mask exchanged where not every lane runs" at 0x1eb4. After: it translates, and 3 more compute programs and 1 pixel program that failed before translate too (2,723 → 2,726 of 2,734 compute, 14,211 → 14,212 of 14,259 vertex/pixel; I compared the counts and failure classes, not each program).
  • In game: before, the log dropped f133e35efed2a48a every frame. After, it is no longer in the dropped list (only 02384a60fda6f2d0 and 2da4beb386509b77 remain). Lucia's hair and shirt are lit in every captured frame from the prison-window shot onwards; in the run just before without this PR (same switches) she turned into a dark silhouette once the cell part started. Single runs each, and this kind of darkness varies from run to run, so take it as one data point. Frame time unchanged (3.6-3.9 fps both ways).
  • A related test: skipping all 18 CS_ShadowRenderTiled* programs instead (VICTORY_SKIP_PIPELINES) made people in the yard pure black silhouettes. So an unwritten shadow-map region reads as full shadow here, which fits the dark characters seen while only f133e35efed2a48a was dropped.

Numbers and text only. AI-assisted (Claude Code).

**@⁠Danigamer05** on GitHub · 2026-11-25 19:20 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7172165558) Confirmed on Turing: RTX 2080 SUPER 8 GB (32-lane waves, driver 621.01), Ryzen 7 3700X, Windows 11, Series S profile. Tree: `vitutu1/victory-perf` `ffed22d` + #683, #610, #823 and this PR (cherry-picked cleanly), diagnostics build. - **Offline** (`victory translate --list`, `VICTORY_HOST_MAX_WAVE=32`, the whole package): before, `f133e35efed2a48a` failed with "a lane mask exchanged where not every lane runs" at 0x1eb4. After: it translates, and 3 more compute programs and 1 pixel program that failed before translate too (2,723 → 2,726 of 2,734 compute, 14,211 → 14,212 of 14,259 vertex/pixel; I compared the counts and failure classes, not each program). - **In game:** before, the log dropped `f133e35efed2a48a` every frame. After, it is no longer in the dropped list (only `02384a60fda6f2d0` and `2da4beb386509b77` remain). Lucia's hair and shirt are lit in every captured frame from the prison-window shot onwards; in the run just before without this PR (same switches) she turned into a dark silhouette once the cell part started. Single runs each, and this kind of darkness varies from run to run, so take it as one data point. Frame time unchanged (3.6-3.9 fps both ways). - **A related test:** skipping all 18 `CS_ShadowRenderTiled*` programs instead (`VICTORY_SKIP_PIPELINES`) made people in the yard pure black silhouettes. So an unwritten shadow-map region reads as full shadow here, which fits the dark characters seen while only `f133e35efed2a48a` was dropped. Numbers and text only. AI-assisted (Claude Code).
Author
Owner

@⁠HAL9000RELOADED on GitHub · 2026-11-25 19:29 UTC · original

RX 7900 XTX (RDNA3), Windows 10 + #402, main d510ee4: all 6 new tests pass. The hardware part of a_far_early_out_is_left_out_and_the_gate_counts_the_lanes_of_both_halves ran on the card ("ran on the hardware device…") and matched. With the tests alone on main, 3 of 6 fail: the two far early-out/skip ones and the parked pair one. Run table: #129 (#129).

**@⁠HAL9000RELOADED** on GitHub · 2026-11-25 19:29 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7172372679) RX 7900 XTX (RDNA3), Windows 10 + #402, main `d510ee4`: all 6 new tests pass. The hardware part of `a_far_early_out_is_left_out_and_the_gate_counts_the_lanes_of_both_halves` ran on the card ("ran on the hardware device…") and matched. With the tests alone on main, 3 of 6 fail: the two far early-out/skip ones and the parked pair one. Run table: #129 (https://git.gtahub.st/github/fxceless--victory-fork/pulls/129).
Author
Owner

@⁠Zayfway on GitHub · 2026-11-25 19:51 UTC · original

Tested on a 32-lane card: on its own on main, and merged with #994 (which carries #993 and #854). AI-assisted (Claude Code); every number below is from runs on this machine.

Machine: RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, 16 GB RAM with a 32 GB pagefile, Windows 11 26300, Series X profile, diag build. Every run loads the same save at the prison window and is measured from world +120 s to +360 s. Switches: ASYNC_SUBMIT QUEUE2 TEXTURE_NO_WAIT COPY_PLAIN LEVELS_ON_DEMAND INDIRECT_GATHER.

tree frame (median) the sun's light along Lucia's silhouette
main 465b94f 264–274 ms (3.6–3.7 fps) steps of about 16 px along the shoulder, and blocky patches at the bottom of the screen
main + this PR 272 ms (3.6 fps) f133e35efed2a48a now translates and binds (on main it was dropped every frame), but the steps are still there: on the wall behind her, and on a door
main + this PR + #994 338 ms (2.9 fps; GPU 150–167 → 210 ms) no steps on the silhouette: the shoulder edge is smooth, with a soft rim of light. The window's dirty-glass and haze effect, missing on main, is drawn

So on this card, this PR is needed but not sufficient. The steps go away only together with #854/#993's exact 64-lane forms. In that tree the four programs the driver used to refuse with E_INVALIDARG (2cc4c197ee29e291, 369cbe906ea72764, 02384a60fda6f2d0, 2da4beb386509b77) build, and the offline census with VICTORY_HOST_WAVE=32 emits 26,135 of 26,136 programs. The one left is CS_TraceShadowRays_FullAdaptive, which these scenes do not use. Lanes on opaque masks go from 28,029 (main + this PR) to 5,459.

Merge. The merged tree is at Zayfway/victory-fork@integ/rtx3060 (7538ceb), with main + this PR + #994 + #1027. It had three conflicts:

  • draw.rs: both new functions kept.
  • ir.rs: the doc of unspill.
  • emit/wave64_tests.rs: #994's file with this PR's tests applied on top.

One test of #993 needed a new expectation. a_mask_parked_in_lanes_another_scalar_shares_comes_back_whole_with_shared_slots expected the parked pair to come back as two scalars without the shared slots. With this PR's site_pairs it comes back as one mask in both cases. cargo test -p victory-shader --lib: 275 passed, 2 ignored.

Not tested:

  • Other scenes.
  • An exact per-frame comparison: the two runs do not stand on the same frame, but each run shows the same window view for minutes.
  • The cost split between this PR and #994's forms.
**@⁠Zayfway** on GitHub · 2026-11-25 19:51 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7172865868) Tested on a 32-lane card: on its own on `main`, and merged with #994 (which carries #993 and #854). *AI-assisted (Claude Code); every number below is from runs on this machine.* **Machine:** RTX 3060 12 GB (driver 610.88), Ryzen 7 5700X, 16 GB RAM with a 32 GB pagefile, Windows 11 26300, Series X profile, diag build. Every run loads the same save at the prison window and is measured from world +120 s to +360 s. Switches: `ASYNC_SUBMIT QUEUE2 TEXTURE_NO_WAIT COPY_PLAIN LEVELS_ON_DEMAND INDIRECT_GATHER`. | tree | frame (median) | the sun's light along Lucia's silhouette | |---|---|---| | `main` `465b94f` | 264–274 ms (3.6–3.7 fps) | steps of about 16 px along the shoulder, and blocky patches at the bottom of the screen | | `main` + this PR | 272 ms (3.6 fps) | `f133e35efed2a48a` now translates and binds (on `main` it was dropped every frame), but the steps are still there: on the wall behind her, and on a door | | `main` + this PR + #994 | 338 ms (2.9 fps; GPU 150–167 → 210 ms) | **no steps on the silhouette**: the shoulder edge is smooth, with a soft rim of light. The window's dirty-glass and haze effect, missing on `main`, is drawn | So on this card, this PR is needed but not sufficient. The steps go away only together with #854/#993's exact 64-lane forms. In that tree the four programs the driver used to refuse with `E_INVALIDARG` (`2cc4c197ee29e291`, `369cbe906ea72764`, `02384a60fda6f2d0`, `2da4beb386509b77`) build, and the offline census with `VICTORY_HOST_WAVE=32` emits 26,135 of 26,136 programs. The one left is `CS_TraceShadowRays_FullAdaptive`, which these scenes do not use. Lanes on opaque masks go from 28,029 (`main` + this PR) to 5,459. **Merge.** The merged tree is at [`Zayfway/victory-fork@integ/rtx3060`](https://github.com/Zayfway/victory-fork/tree/integ/rtx3060) (`7538ceb`), with `main` + this PR + #994 + #1027. It had three conflicts: - `draw.rs`: both new functions kept. - `ir.rs`: the doc of `unspill`. - `emit/wave64_tests.rs`: #994's file with this PR's tests applied on top. One test of #993 needed a new expectation. `a_mask_parked_in_lanes_another_scalar_shares_comes_back_whole_with_shared_slots` expected the parked pair to come back as two scalars without the shared slots. With this PR's `site_pairs` it comes back as one mask in both cases. `cargo test -p victory-shader --lib`: 275 passed, 2 ignored. **Not tested:** - Other scenes. - An exact per-frame comparison: the two runs do not stand on the same frame, but each run shows the same window view for minutes. - The cost split between this PR and #994's forms.
Author
Owner

@⁠Garu667 on GitHub · 2026-11-26 11:38 UTC · original

Second NVIDIA data point: RTX 3080 10 GB, merged onto 06702fe with no conflict, boat mission, standing ~3 min, same settings both runs.

  • translate --warm all (32-lane host): 25,635 → 25,639 translated, 254 → 250 that do not.
  • f133e35efed2a48a now translates and its host pipeline is made (was refused every run); 20b78ee12ecdb57d, ce79e9eba7ae0348, fa0bd10a35bfef3c, be6ce5d849d51127, 922e1d0ee1e19a85 all take the exact "without skips, scalars followed" form.
  • World fps 9.1 → 9.0 (one launch each, within noise): no cost here either. No device loss.
  • Side note: 926c46bab3b86bd6 (water _Submerged) now translates too but the driver refuses it (64-lane), as it refuses the other water volumetrics.
**@⁠Garu667** on GitHub · 2026-11-26 11:38 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7190979275) Second NVIDIA data point: RTX 3080 10 GB, merged onto `06702fe` with no conflict, boat mission, standing ~3 min, same settings both runs. - `translate --warm all` (32-lane host): 25,635 → **25,639** translated, 254 → 250 that do not. - `f133e35efed2a48a` now translates and its host pipeline is made (was refused every run); `20b78ee12ecdb57d`, `ce79e9eba7ae0348`, `fa0bd10a35bfef3c`, `be6ce5d849d51127`, `922e1d0ee1e19a85` all take the exact "without skips, scalars followed" form. - World fps 9.1 → 9.0 (one launch each, within noise): no cost here either. No device loss. - Side note: `926c46bab3b86bd6` (water `_Submerged`) now translates too but the driver refuses it (64-lane), as it refuses the other water volumetrics.
Author
Owner

@⁠Victorywillbeours222 on GitHub · 2026-11-26 13:44 UTC · original

Tested on an RTX 5080 16 GB (32-lane waves), Ryzen 7 5800X, 32 GB RAM, Windows 11. Diagnostics build of main ceb9e1f + #917 + #188 + this PR, Series S profile, 10 minutes hands-off (scripted Enter only). Shader cache warmed with VICTORY_HOST_WAVE=32.

  • Warm-up: 25,639 programs translated and 250 refused, against 25,635 and 254 without this PR.
  • f133e35efed2a48a: translates, gets a host pipeline and is bound from the first world frame. In the run before, without this PR, it was refused every frame ("a lane mask exchanged where not every lane runs").
  • Stability: 0 errors, no device loss.
  • Frame rate: world median 7.8 fps, against 7.5 in the run before. That run kept the cascade programs out of the deep-skips form instead (a per-program workaround), so no cost shows.
  • Picture: no steps along silhouettes in the captured frames. In an earlier played run with neither this PR nor the workaround, light fell on the cell wall in coarse steps and hair looked stringy.

That's one machine and one run per side, so take it as a data point.

AI-assisted (Claude Code). Counts and observations only, no game data.

**@⁠Victorywillbeours222** on GitHub · 2026-11-26 13:44 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7193761045) Tested on an RTX 5080 16 GB (32-lane waves), Ryzen 7 5800X, 32 GB RAM, Windows 11. Diagnostics build of `main` `ceb9e1f` + #917 + #188 + this PR, Series S profile, 10 minutes hands-off (scripted Enter only). Shader cache warmed with `VICTORY_HOST_WAVE=32`. - **Warm-up:** 25,639 programs translated and 250 refused, against 25,635 and 254 without this PR. - **`f133e35efed2a48a`:** translates, gets a host pipeline and is bound from the first world frame. In the run before, without this PR, it was refused every frame ("a lane mask exchanged where not every lane runs"). - **Stability:** 0 errors, no device loss. - **Frame rate:** world median 7.8 fps, against 7.5 in the run before. That run kept the cascade programs out of the deep-skips form instead (a per-program workaround), so no cost shows. - **Picture:** no steps along silhouettes in the captured frames. In an earlier played run with neither this PR nor the workaround, light fell on the cell wall in coarse steps and hair looked stringy. That's one machine and one run per side, so take it as a data point. *AI-assisted (Claude Code). Counts and observations only, no game data.*
Author
Owner

@⁠Swagi-REDACTED on GitHub · 2026-11-26 14:05 UTC · original

Additional RTX 3060 validation for A newer retail game:

  • Ryzen 7 9800X3D, RTX 3060 12 GB (621.14), Windows 11, 16 GB RAM.
  • Before: 0ff6db8156502e89679c9c0a3438e417516fb9b3 (current main plus input integration). The runtime logged the same f133e35efed2a48a failure at 0x1eb4. Offline validation of the four programs named here produced 3/4 validated, with that same failure.
  • After: 8072ea2f057b5fef7c0cad51997e432e28c075ec, integrating this PR, #1112 and #1205. The same four programs produced 4/4 validated and 4/4 compute pipelines created, exit 0, with the D3D12 debug layer, host wave 32 and view limit 999999. The probe observed nvwgf2umx.dll and D3D12Core.dll.

Commands: victory translate <private four-program sample directory> --validate --list --jobs 1, then the same command with --pipelines. This is validation and pipeline creation only; no shader dispatch, visual improvement, gameplay completion, or cold-cache timing claim. A combined visual run is in progress. No sample data is attached.

Combined workspace: cargo test --locked --workspace -- --test-threads=4 --nocapture: 632 passed, 0 failed, 13 ignored. Eight explicit adapter/compiler skip messages were reported; those paths are not counted as coverage. Diagnostics application build and asset policy passed. Combining #1112 with current main exceeded the per-file source limit; the sampler-choice routine was moved unchanged into a child module to pass policy.

AI use: Codex, GPT-6 (exact serving variant not exposed), performed integration and the local tests above. Original PR authors retained. These measurements are from this machine.

**@⁠Swagi-REDACTED** on GitHub · 2026-11-26 14:05 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7194268664) Additional RTX 3060 validation for **A newer retail game**: - Ryzen 7 9800X3D, RTX 3060 12 GB (621.14), Windows 11, 16 GB RAM. - Before: `0ff6db8156502e89679c9c0a3438e417516fb9b3` (current main plus input integration). The runtime logged the same `f133e35efed2a48a` failure at `0x1eb4`. Offline validation of the four programs named here produced **3/4 validated**, with that same failure. - After: [8072ea2f057b5fef7c0cad51997e432e28c075ec](https://github.com/Swagi-REDACTED/victory-fork/commit/8072ea2f057b5fef7c0cad51997e432e28c075ec), integrating this PR, #1112 and #1205. The same four programs produced **4/4 validated and 4/4 compute pipelines created**, exit 0, with the D3D12 debug layer, host wave 32 and view limit 999999. The probe observed `nvwgf2umx.dll` and `D3D12Core.dll`. Commands: `victory translate <private four-program sample directory> --validate --list --jobs 1`, then the same command with `--pipelines`. This is validation and pipeline creation only; no shader dispatch, visual improvement, gameplay completion, or cold-cache timing claim. A combined visual run is in progress. No sample data is attached. Combined workspace: `cargo test --locked --workspace -- --test-threads=4 --nocapture`: **632 passed, 0 failed, 13 ignored**. Eight explicit adapter/compiler skip messages were reported; those paths are not counted as coverage. Diagnostics application build and asset policy passed. Combining #1112 with current main exceeded the per-file source limit; the sampler-choice routine was moved unchanged into a child module to pass policy. AI use: Codex, GPT-6 (exact serving variant not exposed), performed integration and the local tests above. Original PR authors retained. These measurements are from this machine.
Author
Owner

@⁠Garu667 on GitHub · 2026-11-26 15:23 UTC · original

Visual confirmation in the prologue cell (RTX 3080, 58de9bf vs 58de9bf + this PR, same save, standing at the window ~1.5 min each): without the PR the sun's light along the character's shoulder and hair comes out in ~16 px steps; with it the edge is smooth and the shoulder and neck are lit as they should be. 7.7 vs 7.6 fps, no device loss.

**@⁠Garu667** on GitHub · 2026-11-26 15:23 UTC · [original](https://github.com/fxceless/victory-fork/pull/1002#issuecomment-7196206074) Visual confirmation in the prologue cell (RTX 3080, `58de9bf` vs `58de9bf` + this PR, same save, standing at the window ~1.5 min each): without the PR the sun's light along the character's shoulder and hair comes out in ~16 px steps; with it the edge is smooth and the shoulder and neck are lit as they should be. 7.7 vs 7.6 fps, no device loss.
This pull request has changes conflicting with the target branch.
  • crates/victory-shader/src/emit/wave64_tests.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1002/head:github-bot/gh-1002'
git switch 'github-bot/gh-1002'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1002'
git switch 'github-bot/gh-1002'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1002'
git switch 'github-bot/gh-1002'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1002'
git switch 'main'
git merge --squash 'github-bot/gh-1002'
git switch 'main'
git merge --ff-only 'github-bot/gh-1002'
git switch 'main'
git merge 'github-bot/gh-1002'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.