Shaders: a full-LDS wave64 program that reserves slots with an LDS atomic lowers to wave32 (6b82bc7d22016cb5) #822

Open
henriazz10 wants to merge 4 commits from upstream-pr/822 into main
henriazz10 commented 2026-11-28 07:09:31 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by henriazz10 on 2026-11-28T07:09:31Z.


Summary

On a 32-lane host (VICTORY_HOST_WAVE=32, every NVIDIA card) the compute program 6b82bc7d22016cb5 did not translate ("no wave32 lowering for this wave64 program"), so its dispatches were dropped. docs/findings.md (800dada) lists it among the 22 wave64 programs without a wave32 lowering, created in play on an RTX 5080. It is a 1024-thread group that uses the whole 32 KiB of LDS and reserves slots with an LDS atomic (ds_add_rtn_u32) in the allocation idiom. This change lets the local-waves lowering take it. One more program (6832a9da15c2e584) translates as a side effect. Nothing that translated before changes.

Cause

  1. wave_local accepted only buffer atomics (buffer_atomic_*) as the allocation idiom's reservation. The same reservation done with an LDS atomic (ds_*_rtn_*) was refused.
  2. The local-waves lowering still reserved the exchange dwords and the halves dword past the program's LDS. With a program that already uses all 8192 dwords, this went over the host's 32 KiB.
  3. lds_order's "unordered" set was only computed for pair meetings. Without it, lds_meetings refused an LDS read and an LDS atomic in one lane-branch region.

Change (crates/victory-shader/src/emit/lower.rs)

  • wave_local takes ds_*_rtn_* (not GDS) as the reservation, like the buffer atomics: ds_add_rtn_u32 for buffer_atomic_add, and so on.
  • In local-waves mode the exchange and halves dwords are reserved as before when the LDS has room. They are left out only when the program's LDS is full, so every program that translated before keeps its layout.
  • console_lane returns the host lane in local mode only when there is no halves dword. Otherwise it keeps upstream's rule (halves.is_none() && exchange.is_none()).
  • The unordered LDS set is computed in local-waves mode only as a fallback, when the program would otherwise be refused.
  • Two synthetic tests in crates/victory-shader/src/emit/wave64_tests.rs, built by our own code; nothing from the title is in them:
    • full_lds_local_wave_lds_atomic_allocation_lowers_to_wave32: refused before the change. Now it lowers to wave32, validates, and runs on the GPU, where 75 of 128 active threads take unique slots in a full 32 KiB of LDS.
    • local_waves_console_lane_keeps_upper_half_when_lds_has_room: the upper host wave keeps console lanes 32..63 when the LDS has room.

Evidence

Offline translation of every compute program in the title's shaders.rpf with VICTORY_HOST_WAVE=32, comparing origin/main 63b902f with this branch:

main this branch
Compute programs emitted 2655 2657
New 6b82bc7d22016cb5, 6832a9da15c2e584
Lost 0
Emitted hash changed 0

6b82bc7d22016cb5 is emitted and passes dxil.dll validation (translate --validate).

Checks

  • cargo test -p victory-shader --locked: 295 passed, 0 failed.
  • git diff --check origin/main: clean.
  • cargo xtask policy: 294 files ok.
  • cargo clippy -p victory-shader --all-targets --locked -- -D warnings with the local Rust 1.98: one finding, let_and_return at emit/mod.rs:2768. It is already on main in an untouched file; CI's toolchain does not report it.

Environment: Windows 11 (build 26300), RTX 5080, driver 616.92, AMD Ryzen 9 5950X.

Not tested

  • Not seen in play on its own. The user's play builds had it together with other changes.
  • The program looks like a triangle-clip pass (CS_CollectTriangles_Meshlets), so it may not be what draws the water's rectangular patches. #742 by @xss3009 addresses the water light's tile slots. The two changes combine: we merged both locally, and resolved the one-line console_lane overlap as (local && halves.is_none()) || (exchange.is_none() && halves.is_none() && twin.is_none()).

AI-assisted. Gemini 4 Hydrogen (Antigravity CLI) wrote the change and ran the checks; Claude Code reviewed it.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5537738361 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/822). Originally posted by [henriazz10](https://github.com/henriazz10) on 2026-11-28T07:09:31Z. --- ## Summary On a 32-lane host (`VICTORY_HOST_WAVE=32`, every NVIDIA card) the compute program `6b82bc7d22016cb5` did not translate ("no wave32 lowering for this wave64 program"), so its dispatches were dropped. `docs/findings.md` (800dada) lists it among the 22 wave64 programs without a wave32 lowering, created in play on an RTX 5080. It is a 1024-thread group that uses the whole 32 KiB of LDS and reserves slots with an LDS atomic (`ds_add_rtn_u32`) in the allocation idiom. This change lets the local-waves lowering take it. One more program (`6832a9da15c2e584`) translates as a side effect. Nothing that translated before changes. ## Cause 1. `wave_local` accepted only buffer atomics (`buffer_atomic_*`) as the allocation idiom's reservation. The same reservation done with an LDS atomic (`ds_*_rtn_*`) was refused. 2. The local-waves lowering still reserved the exchange dwords and the `halves` dword past the program's LDS. With a program that already uses all 8192 dwords, this went over the host's 32 KiB. 3. `lds_order`'s "unordered" set was only computed for pair meetings. Without it, `lds_meetings` refused an LDS read and an LDS atomic in one lane-branch region. ## Change (`crates/victory-shader/src/emit/lower.rs`) - `wave_local` takes `ds_*_rtn_*` (not GDS) as the reservation, like the buffer atomics: `ds_add_rtn_u32` for `buffer_atomic_add`, and so on. - In local-waves mode the exchange and `halves` dwords are reserved as before when the LDS has room. They are left out only when the program's LDS is full, so every program that translated before keeps its layout. - `console_lane` returns the host lane in local mode only when there is no `halves` dword. Otherwise it keeps upstream's rule (`halves.is_none() && exchange.is_none()`). - The unordered LDS set is computed in local-waves mode only as a fallback, when the program would otherwise be refused. - Two synthetic tests in `crates/victory-shader/src/emit/wave64_tests.rs`, built by our own code; nothing from the title is in them: - `full_lds_local_wave_lds_atomic_allocation_lowers_to_wave32`: refused before the change. Now it lowers to wave32, validates, and runs on the GPU, where 75 of 128 active threads take unique slots in a full 32 KiB of LDS. - `local_waves_console_lane_keeps_upper_half_when_lds_has_room`: the upper host wave keeps console lanes 32..63 when the LDS has room. ## Evidence Offline translation of every compute program in the title's `shaders.rpf` with `VICTORY_HOST_WAVE=32`, comparing `origin/main` 63b902f with this branch: | | main | this branch | |---|---:|---:| | Compute programs emitted | 2655 | 2657 | | New | | `6b82bc7d22016cb5`, `6832a9da15c2e584` | | Lost | | 0 | | Emitted hash changed | | **0** | `6b82bc7d22016cb5` is emitted and passes `dxil.dll` validation (`translate --validate`). ## Checks - `cargo test -p victory-shader --locked`: 295 passed, 0 failed. - `git diff --check origin/main`: clean. - `cargo xtask policy`: 294 files ok. - `cargo clippy -p victory-shader --all-targets --locked -- -D warnings` with the local Rust 1.98: one finding, `let_and_return` at `emit/mod.rs:2768`. It is already on main in an untouched file; CI's toolchain does not report it. Environment: Windows 11 (build 26300), RTX 5080, driver 616.92, AMD Ryzen 9 5950X. ## Not tested - Not seen in play on its own. The user's play builds had it together with other changes. - The program looks like a triangle-clip pass (`CS_CollectTriangles_Meshlets`), so it may not be what draws the water's rectangular patches. #742 by @xss3009 addresses the water light's tile slots. The two changes combine: we merged both locally, and resolved the one-line `console_lane` overlap as `(local && halves.is_none()) || (exchange.is_none() && halves.is_none() && twin.is_none())`. AI-assisted. Gemini 4 Hydrogen (Antigravity CLI) wrote the change and ran the checks; Claude Code reviewed it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Aniseto commented 2026-11-28 07:15:42 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Aniseto on 2026-11-28T07:15:42Z.


Ran the full-LDS allocation tests at 9ee31f0 on an NVIDIA Blackwell desktop part:

Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, Rust 1.98.1 (pinned by rust-toolchain.toml), MSVC 14.44.35207, DXC 1.9.2609.5 (shared env), debug build.

. D:\VICTORY-NVIDIA-OPS\env-victory-nvidia.ps1
$env:VICTORY_D3D12_ADAPTER = 'NVIDIA'
cargo test -p victory-shader --lib -- full_lds_local_wave_lds_atomic_allocation_lowers_to_wave32 local_waves_console_lane_keeps_upper_half_when_lds_has_room --test-threads=1
2 passed; 0 failed; 0 ignored; 0 measured; 298 filtered out      (exit 0)

Both new synthetic tests pass on a genuine 32-lane host: the 1024-thread full-32 KiB LDS program with the ds_add_rtn_u32 reservation now lowers to wave32, and the upper-half console lane keeps its value when LDS has room. They are translation tests; I did not run the title's 6b82bc7d22016cb5 program or a dispatch. The PR has no comments yet, so this is the first datapoint in the thread and the first from an RTX 5070 Ti.

Not tested: the title's shader/dispatch, a paired smoke run, the full workspace suite, release profile, AMD and Intel GPUs, native wave64 hosts, Wine, game data.

AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7235820240 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/822#issuecomment-7235820240). Originally posted by [Aniseto](https://github.com/Aniseto) on 2026-11-28T07:15:42Z. --- Ran the full-LDS allocation tests at `9ee31f0` on an NVIDIA Blackwell desktop part: Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, Rust 1.98.1 (pinned by `rust-toolchain.toml`), MSVC 14.44.35207, DXC 1.9.2609.5 (shared env), debug build. ``` . D:\VICTORY-NVIDIA-OPS\env-victory-nvidia.ps1 $env:VICTORY_D3D12_ADAPTER = 'NVIDIA' cargo test -p victory-shader --lib -- full_lds_local_wave_lds_atomic_allocation_lowers_to_wave32 local_waves_console_lane_keeps_upper_half_when_lds_has_room --test-threads=1 2 passed; 0 failed; 0 ignored; 0 measured; 298 filtered out (exit 0) ``` Both new synthetic tests pass on a genuine 32-lane host: the 1024-thread full-32 KiB LDS program with the `ds_add_rtn_u32` reservation now lowers to wave32, and the upper-half console lane keeps its value when LDS has room. They are translation tests; I did not run the title's `6b82bc7d22016cb5` program or a dispatch. The PR has no comments yet, so this is the first datapoint in the thread and the first from an RTX 5070 Ti. Not tested: the title's shader/dispatch, a paired smoke run, the full workspace suite, release profile, AMD and Intel GPUs, native wave64 hosts, Wine, game data. AI-assisted (OpenCode), model: **DeepSeek V4.1 Flash Free** - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used.
johnthemistaker commented 2026-11-28 07:58:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by johnthemistaker on 2026-11-28T07:58:00Z.


I reproduced this shader translation failure on an RTX 5060 Ti (8 GB) with local build f0b9876, based on 63b902f (v2026.11.28.01). The run used Series S, DLSS Balanced, and frame generation off.

The log recorded the first bind at frame 46900, followed by this warning:

stage="compute" hash=6b82bc7d22016cb5 error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7236274673 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/822#issuecomment-7236274673). Originally posted by [johnthemistaker](https://github.com/johnthemistaker) on 2026-11-28T07:58:00Z. --- I reproduced this shader translation failure on an RTX 5060 Ti (8 GB) with local build `f0b9876`, based on `63b902f` (`v2026.11.28.01`). The run used Series S, DLSS Balanced, and frame generation off. The log recorded the first bind at frame 46900, followed by this warning: ```text stage="compute" hash=6b82bc7d22016cb5 error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported ```
cansevenhalim0-ui commented 2026-11-28 10:24:20 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by cansevenhalim0-ui on 2026-11-28T10:24:20Z.


I tested this PR on an RTX 5080 (driver 621.24, Windows 11) with my own copy of the title. I built the PR's head (9ee31f0) and used its base, 63b902f, as "before".

Offline (victory translate --list, VICTORY_HOST_WAVE=32, the title's shaders.rpf):

  • Compute programs emitted: 2655 → 2657 of 2682.
  • "No wave32 lowering for this wave64 program": 22 → 20. 6b82bc7d22016cb5 and 6832a9da15c2e584 now emit.
  • Every other program's result and DXIL hash is the same as on 63b902f. Nothing else changed.

Tests:

  • Both new tests and the full victory-shader lib suite pass (295 passed) on the RTX 5080 and WARP.
  • cargo clippy -p victory-shader --all-targets -- -D warnings: one error, at mod.rs:2768. It is in a file this PR doesn't touch, and it is already on 63b902f.

In game (short, about 1 minute in the world):

  • 6b82bc7d22016cb5 translates, and its pipeline is made at first use.
  • In an earlier 19-minute session without this PR, it was refused about 3 minutes in.
  • No device removal and no new warning kinds.

Two review notes:

  1. s.lds_dwords + n < HOST_LDS_DWORDS (exchange) and s.lds_dwords < HOST_LDS_DWORDS (halves):
    • Before, a local-waves program whose LDS plus these dwords came to exactly 8192 kept them, and it fit.
    • With < they are now left out, so that program's layout changes.
    • <= would keep the old layout. No program in this title hits it, so it may be moot.
  2. In local mode, the exchange slot is u32::MAX. It is guarded only by debug_assert! in exchange_dword and exchange_pair. A release build that still reached them would address LDS at u32::MAX. Returning an error there might be safer.

Not tested: what the effect itself looks like, and AMD hardware.

AI use: Claude Code (Claude Opus 5.5) ran these checks and drafted this comment. I read it before posting.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7237875278 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/822#issuecomment-7237875278). Originally posted by [cansevenhalim0-ui](https://github.com/cansevenhalim0-ui) on 2026-11-28T10:24:20Z. --- I tested this PR on an RTX 5080 (driver 621.24, Windows 11) with my own copy of the title. I built the PR's head (9ee31f0) and used its base, 63b902f, as "before". **Offline** (`victory translate --list`, `VICTORY_HOST_WAVE=32`, the title's `shaders.rpf`): - Compute programs emitted: 2655 → 2657 of 2682. - "No wave32 lowering for this wave64 program": 22 → 20. `6b82bc7d22016cb5` and `6832a9da15c2e584` now emit. - Every other program's result and DXIL hash is the same as on 63b902f. Nothing else changed. **Tests:** - Both new tests and the full `victory-shader` lib suite pass (295 passed) on the RTX 5080 and WARP. - `cargo clippy -p victory-shader --all-targets -- -D warnings`: one error, at `mod.rs:2768`. It is in a file this PR doesn't touch, and it is already on 63b902f. **In game** (short, about 1 minute in the world): - `6b82bc7d22016cb5` translates, and its pipeline is made at first use. - In an earlier 19-minute session without this PR, it was refused about 3 minutes in. - No device removal and no new warning kinds. **Two review notes:** 1. `s.lds_dwords + n < HOST_LDS_DWORDS` (exchange) and `s.lds_dwords < HOST_LDS_DWORDS` (`halves`): - Before, a local-waves program whose LDS plus these dwords came to exactly 8192 kept them, and it fit. - With `<` they are now left out, so that program's layout changes. - `<=` would keep the old layout. No program in this title hits it, so it may be moot. 2. In local mode, the exchange slot is `u32::MAX`. It is guarded only by `debug_assert!` in `exchange_dword` and `exchange_pair`. A release build that still reached them would address LDS at `u32::MAX`. Returning an error there might be safer. **Not tested:** what the effect itself looks like, and AMD hardware. AI use: Claude Code (Claude Opus 5.5) ran these checks and drafted this comment. I read it before posting.
henriazz10 commented 2026-11-28 12:51:53 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by henriazz10 on 2026-11-28T12:51:53Z.


Thanks @Aniseto, @johnthemistaker and @KruIN689. johnthemistaker's log line is exactly the refusal this PR removes, and KruIN689 now has it working in the game.

@KruIN689, both review notes are addressed in 177ac8a:

  1. The exchange reservation now uses <=, so a program whose LDS plus the exchange dwords comes to exactly 8192 keeps its old layout. The halves check was already right: lds_dwords < 8192 is the same as lds_dwords + 1 <= 8192.
  2. In local mode the two callers that could reach exchange_dword / exchange_pair (a lane read across host waves, and the console-wave pair exchange) now refuse the program with an error. Before, only a debug_assert! stood between a release build and an LDS address of u32::MAX.

Checks: cargo test -p victory-shader --locked gives 295 passed. A full offline translation of the title's shaders.rpf with VICTORY_HOST_WAVE=32 gives the same 25,669 emitted programs, with the same input and output hashes as 9ee31f0. So in this title neither change is reached, as you expected.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7239520314 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/822#issuecomment-7239520314). Originally posted by [henriazz10](https://github.com/henriazz10) on 2026-11-28T12:51:53Z. --- Thanks @Aniseto, @johnthemistaker and @KruIN689. johnthemistaker's log line is exactly the refusal this PR removes, and KruIN689 now has it working in the game. @KruIN689, both review notes are addressed in 177ac8a: 1. The exchange reservation now uses `<=`, so a program whose LDS plus the exchange dwords comes to exactly 8192 keeps its old layout. The `halves` check was already right: `lds_dwords < 8192` is the same as `lds_dwords + 1 <= 8192`. 2. In local mode the two callers that could reach `exchange_dword` / `exchange_pair` (a lane read across host waves, and the console-wave pair exchange) now refuse the program with an error. Before, only a `debug_assert!` stood between a release build and an LDS address of `u32::MAX`. Checks: `cargo test -p victory-shader --locked` gives 295 passed. A full offline translation of the title's `shaders.rpf` with `VICTORY_HOST_WAVE=32` gives the same 25,669 emitted programs, with the same input and output hashes as 9ee31f0. So in this title neither change is reached, as you expected. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
nick0451 commented 2026-11-28 17:24:07 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nick0451 on 2026-11-28T17:24:07Z.


Works in play on Ampere (RTX 3090, 32-lane waves).

RTX 3090 24 GB (driver 610.88), i9-14900K, 32 GB, Windows 11. A release build of this PR merged onto main at 63b902f. Series S, DLSS Performance, frame generation off. Every run used the same frozen save, outdoors on a balcony by the water (about 5,900 draws a frame), standing still. One warm-up start per build, then main and four PR builds were run in turn, three rounds each. Each run is 40 s to settle, 60 s measured, then a screenshot. An A/A run of main against itself in this setup differs by 2-3%.

  • Main: shader does not translate; its pipelines' draws are dropped ... hash=6b82bc7d22016cb5 ... no wave32 lowering for this wave64 program in all 3 runs.
  • This PR: no such line for 6b82bc7d22016cb5 in any run, and its pipeline is built in all 3. Shaders that do not translate in this scene go from 7 to 6 a run (21 to 18 over three runs).
  • Picture: normal in all end-of-run screenshots, against main.
  • Speed: 23.9 fps median against 24.6 for main (runs 20.4, 23.9, 24.1), within this setup's noise. The first round was slow for every new build in this session.
  • cargo test -p victory-shader --lib (merged onto 63b902f, this PC): 295 passed. No crash, device loss or ERROR line in the game.

Tested with an AI assistant (Claude Code); results are from this PC.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7242987822 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/822#issuecomment-7242987822). Originally posted by [nick0451](https://github.com/nick0451) on 2026-11-28T17:24:07Z. --- **Works in play on Ampere** (RTX 3090, 32-lane waves). RTX 3090 24 GB (driver 610.88), i9-14900K, 32 GB, Windows 11. A release build of this PR merged onto main at `63b902f`. Series S, DLSS Performance, frame generation off. Every run used the same frozen save, outdoors on a balcony by the water (about 5,900 draws a frame), standing still. One warm-up start per build, then main and four PR builds were run in turn, three rounds each. Each run is 40 s to settle, 60 s measured, then a screenshot. An A/A run of main against itself in this setup differs by 2-3%. - **Main:** `shader does not translate; its pipelines' draws are dropped ... hash=6b82bc7d22016cb5 ... no wave32 lowering for this wave64 program` in all 3 runs. - **This PR:** no such line for `6b82bc7d22016cb5` in any run, and its pipeline is built in all 3. Shaders that do not translate in this scene go from 7 to 6 a run (21 to 18 over three runs). - **Picture:** normal in all end-of-run screenshots, against main. - **Speed:** 23.9 fps median against 24.6 for main (runs 20.4, 23.9, 24.1), within this setup's noise. The first round was slow for every new build in this session. - `cargo test -p victory-shader --lib` (merged onto `63b902f`, this PC): 295 passed. No crash, device loss or `ERROR` line in the game. Tested with an AI assistant (Claude Code); results are from this PC.
henriazz10 commented 2026-11-28 19:41:35 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by henriazz10 on 2026-11-28T19:41:35Z.


Thanks @nick0451, this closes the last open question for this PR: it works in play on Ampere too, not only on Blackwell (KruIN689's RTX 5080).

Your runs show what the PR is meant to do. 6b82bc7d22016cb5 translates and its pipeline is built in all three runs, the shaders that don't translate go from 7 to 6 a run, and the picture is the same as main. The speed difference (23.9 against 24.6 fps median) is inside the 2-3 % your A/A run shows, so I read it as no change, which is what we expected from one compute shader that used to be dropped.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7244734443 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/822#issuecomment-7244734443). Originally posted by [henriazz10](https://github.com/henriazz10) on 2026-11-28T19:41:35Z. --- Thanks @nick0451, this closes the last open question for this PR: it works in play on Ampere too, not only on Blackwell (KruIN689's RTX 5080). Your runs show what the PR is meant to do. `6b82bc7d22016cb5` translates and its pipeline is built in all three runs, the shaders that don't translate go from 7 to 6 a run, and the picture is the same as main. The speed difference (23.9 against 24.6 fps median) is inside the 2-3 % your A/A run shows, so I read it as no change, which is what we expected from one compute shader that used to be dropped. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
nick0451 commented 2026-11-28 20:57:16 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nick0451 on 2026-11-28T20:57:16Z.


A note for the rebase: on current main (923e38c), 6b82bc7d22016cb5 fails to translate again in play (no wave32 lowering for this wave64 program, every run on my RTX 3090), as on 63b902f before this PR. So this PR is still needed after the newer wave64 work. #1450 does not cover this program: with it applied, 6b82bc7d22016cb5 still fails, while five other programs translate again.

Tested with an AI assistant (Claude Code); results are from this PC.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7245665501 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/822#issuecomment-7245665501). Originally posted by [nick0451](https://github.com/nick0451) on 2026-11-28T20:57:16Z. --- A note for the rebase: on current main (`923e38c`), `6b82bc7d22016cb5` fails to translate again in play (`no wave32 lowering for this wave64 program`, every run on my RTX 3090), as on `63b902f` before this PR. So this PR is still needed after the newer wave64 work. #1450 does not cover this program: with it applied, `6b82bc7d22016cb5` still fails, while five other programs translate again. Tested with an AI assistant (Claude Code); results are from this PC.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/822:upstream-pr/822'
git switch 'upstream-pr/822'

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 'upstream-pr/822'
git switch 'upstream-pr/822'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/822'
git switch 'upstream-pr/822'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/822'
git switch 'main'
git merge --squash 'upstream-pr/822'
git switch 'main'
git merge --ff-only 'upstream-pr/822'
git switch 'main'
git merge 'upstream-pr/822'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
trustno1-coder/VIctory-NVIDIA!822
No description provided.