GPU: restore indirect and card-copy shaders under Proton #1489

Open
Filip722 wants to merge 6 commits from upstream-pr/1489 into main
Filip722 commented 2026-11-27 16:42:43 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-27T16:42:43Z.


With Wine's built-in D3DCompile, the NVIDIA-based renderer can fail to create the indirect argument clamp and the card-copy comparison pipeline. The title then drops indirect work and the renderer falls back to host-backed copies.

This ports ErRusso's runtime compiler helper from #20 and uses it for the two indirect clamps' shared constructor and the card comparison pipeline. The existing system compiler is tried first. The fallback uses an installed DXC, including the explicit VICTORY_DXC setting. The HLSL, barriers and bounds remain the same. The card comparison shader, constructor, and physical fixture move into their own module.

On Bazzite 44 and GE-Proton11-14, the original clamp and card pipeline failed their physical RTX 5060 Laptop fixtures. Both passed with the fallback. The standalone PR head on 3e573d2 passed those two physical checks, all three DXC tests, seven scheduler regressions, and the full 281-file asset-policy check. Windows MSVC release diagnostics with Rust 1.98.1, driver 615.78.08 and vkd3d-proton 3.2.0.

In a separate offline Series S integration with #1486, the clamp fix reached a rendered 3D scene and the on-water objective. Adding the card comparison fallback lowered the reported copy-back phase from 71.9 to 25.1 ms in a short comparable gameplay crop. Throughput in those samples was 2.75 and 3.05 rendered FPS, respectively. The later mission failure still reproduced. These were single runs at the same checkpoint.

Assisted by Codex (GPT-6.2-Sol High).

<!-- greyfinch-sync:fxceless/victory-fork:issue:5530094639 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489). Originally posted by [Filip722](https://github.com/Filip722) on 2026-11-27T16:42:43Z. --- With Wine's built-in D3DCompile, the NVIDIA-based renderer can fail to create the indirect argument clamp and the card-copy comparison pipeline. The title then drops indirect work and the renderer falls back to host-backed copies. This ports ErRusso's runtime compiler helper from #20 and uses it for the two indirect clamps' shared constructor and the card comparison pipeline. The existing system compiler is tried first. The fallback uses an installed DXC, including the explicit `VICTORY_DXC` setting. The HLSL, barriers and bounds remain the same. The card comparison shader, constructor, and physical fixture move into their own module. On Bazzite 44 and GE-Proton11-14, the original clamp and card pipeline failed their physical RTX 5060 Laptop fixtures. Both passed with the fallback. The standalone PR head on `3e573d2` passed those two physical checks, all three DXC tests, seven scheduler regressions, and the full 281-file asset-policy check. Windows MSVC release diagnostics with Rust 1.98.1, driver 615.78.08 and vkd3d-proton 3.2.0. In a separate offline Series S integration with #1486, the clamp fix reached a rendered 3D scene and the on-water objective. Adding the card comparison fallback lowered the reported copy-back phase from 71.9 to 25.1 ms in a short comparable gameplay crop. Throughput in those samples was 2.75 and 3.05 rendered FPS, respectively. The later mission failure still reproduced. These were single runs at the same checkpoint. Assisted by Codex (GPT-6.2-Sol High).
Filip722 commented 2026-11-27 16:49:38 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-27T16:49:38Z.


The Windows CI run stops at the texture-test precedence lint already present on the base commit 3e573d2. Main's CI reports the same failure. #1485 covers that line. The focused Windows MSVC tests and the two physical RTX shader checks in the PR description passed.

Assisted by Codex (GPT-6.2-Sol High).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7223714717 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7223714717). Originally posted by [Filip722](https://github.com/Filip722) on 2026-11-27T16:49:38Z. --- The Windows CI run stops at the texture-test precedence lint already present on the base commit `3e573d2`. [Main's CI](https://github.com/fxceless/victory-fork/actions/runs/46030075701) reports the same failure. #1485 covers that line. The focused Windows MSVC tests and the two physical RTX shader checks in the PR description passed. Assisted by Codex (GPT-6.2-Sol High).
UwUCammie commented 2026-11-27 17:08:39 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by UwUCammie on 2026-11-27T17:08:39Z.


I reproduced both failures on the Wine branch at 907a771e with Wine 11.22’s built-in d3dcompiler_47, an RX 7900 XT, RADV 26.3.1 and vkd3d-proton 71cae091b06571e. Both the argument clamp and the card compare passed under the same setup when I selected Microsoft’s compiler.

I ported these two calls to the fallback on the Wine branch. Both host pipelines now build with Wine’s DLL and DXC 1.9.2609, and the Microsoft DLL path still passes without loading DXC. I used the existing DXBC parser for the RTS0 check, with a fixture that puts those bytes inside a different chunk so the fallback doesn’t treat them as a root signature. Wine port and results

<!-- greyfinch-sync:fxceless/victory-fork:comment:7224076000 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7224076000). Originally posted by [UwUCammie](https://github.com/UwUCammie) on 2026-11-27T17:08:39Z. --- I reproduced both failures on the Wine branch at `907a771e` with Wine 11.22’s built-in `d3dcompiler_47`, an RX 7900 XT, RADV 26.3.1 and vkd3d-proton `71cae091b06571e`. Both the argument clamp and the card compare passed under the same setup when I selected Microsoft’s compiler. I ported these two calls to the fallback on the Wine branch. Both host pipelines now build with Wine’s DLL and DXC 1.9.2609, and the Microsoft DLL path still passes without loading DXC. I used the existing DXBC parser for the `RTS0` check, with a fixture that puts those bytes inside a different chunk so the fallback doesn’t treat them as a root signature. [Wine port and results](https://github.com/borntofrag34/VIctory-7900XTX/pull/18)
Filip722 commented 2026-11-27 18:30:33 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-27T18:30:33Z.


Retested these changes on current main f299fba together with #1486. The RTX 5060 Laptop under GE-Proton11-14 and vkd3d-proton 3.2.0 passed the compositor, indirect-clamp, and card-compare hardware fixtures, the three compiler and seven scheduler tests, and all 15 Wave64 cases. Full asset policy passed.

The offline Series S replay rendered the boat objective and, after a retry, showed clear water with visible steering, acceleration, and camera response. The matched early view still measured about 3.05 rendered FPS. A later driving sample averaged 3.10 FPS and the traces repeatedly showed the same 500 ms pipeline wait with seven pipelines outstanding. This was a combined integration check against the newer renderer.

Assisted by Codex (GPT-6.2-Sol High).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7225560383 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7225560383). Originally posted by [Filip722](https://github.com/Filip722) on 2026-11-27T18:30:33Z. --- Retested these changes on current main `f299fba` together with #1486. The RTX 5060 Laptop under GE-Proton11-14 and vkd3d-proton 3.2.0 passed the compositor, indirect-clamp, and card-compare hardware fixtures, the three compiler and seven scheduler tests, and all 15 Wave64 cases. Full asset policy passed. The offline Series S replay rendered the boat objective and, after a retry, showed clear water with visible steering, acceleration, and camera response. The matched early view still measured about 3.05 rendered FPS. A later driving sample averaged 3.10 FPS and the traces repeatedly showed the same 500 ms pipeline wait with seven pipelines outstanding. This was a combined integration check against the newer renderer. Assisted by Codex (GPT-6.2-Sol High).
OctoAlgo commented 2026-11-27 18:48:14 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by OctoAlgo on 2026-11-27T18:48:14Z.


Tested b344f5b74 under Proton 11 on an RTX 5090 (driver 620.73.04, Series X profile), on main f299fba1a plus #1006, which this card needs.

  • Both shaders fall back to DXC as intended (E5005 ... 'Load4' for the card compare, E5005 ... 'InterlockedOr' for the clamp, each followed by trying DXC). No clamp or compare warnings afterwards.
  • Ray tracing off: 3.72 fps, 20.8 GB, no Xid. Ray tracing on: 3.52 fps, 22.7 GB, no Xid.
  • For comparison: with only the clamp fixed, 2.78 fps. With neither, the card hung at the third world frame (Xid 109).

Not tested: Windows, AMD, Series S, a cold first start. The 2.78 → 3.72 step is not cleanly attributed to the card compare; the two builds also differed in two small things.

(written with AI assistance)

<!-- greyfinch-sync:fxceless/victory-fork:comment:7225888505 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7225888505). Originally posted by [OctoAlgo](https://github.com/OctoAlgo) on 2026-11-27T18:48:14Z. --- Tested b344f5b74 under Proton 11 on an RTX 5090 (driver 620.73.04, Series X profile), on main f299fba1a plus #1006, which this card needs. - Both shaders fall back to DXC as intended (`E5005 ... 'Load4'` for the card compare, `E5005 ... 'InterlockedOr'` for the clamp, each followed by `trying DXC`). No clamp or compare warnings afterwards. - Ray tracing off: 3.72 fps, 20.8 GB, no Xid. Ray tracing on: 3.52 fps, 22.7 GB, no Xid. - For comparison: with only the clamp fixed, 2.78 fps. With neither, the card hung at the third world frame (Xid 109). Not tested: Windows, AMD, Series S, a cold first start. The 2.78 → 3.72 step is not cleanly attributed to the card compare; the two builds also differed in two small things. *(written with AI assistance)*
ArturoWolff commented 2026-11-27 21:17:19 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by ArturoWolff on 2026-11-27T21:17:19Z.


Additional retail startup A/B on an RTX 4060 desktop (8 GB VRAM, 16 GB system RAM), Linux, NVIDIA 620.73.04, GE-Proton11-14 / vkd3d-proton 3.2.0 (cae8353ed7959c4+).

I applied your exact #1489 delta (b344f5b74c974b602914c8b0a498b000158897ea against 3e573d2) cleanly to 2eade68cade9b2f8cd2511cc97328e83f58508c3 with the same local adaptation of Filip722's #830 in both arms (backing comparison). Credit also to ErRusso's original #20 compiler helper. Rust 1.98.1, cargo-xwin 0.24.2, locked MSVC release, separate build targets. The candidate had Microsoft's DXC 1.9.2609 x64 DLL and accompanying validator available through the explicit VICTORY_DXC path; the release ZIP matches the upstream SHA-256.

Both launches used independent clones of the same retired profile/prefix, fresh external driver-cache directories, Series X, --res 1080to1440, 1920×1080 fullscreen client, 30 FPS cap, BVH builder and water light enabled, no deliberately omitted passes, and mixed physical backing (448 MiB pagefile-first allowance). Neither run had a recorded manual or scripted advance. The old prefix already contained the earlier onboarding state.

Observation (new run log only) #830 backing control #830 + #1489
System compiler fallback attempts 0 2
DXC failed too N/A 0
no argument clamp 1 0
no batched argument clamp 1 0
the compare could not be made 1 0
a buffer's host copy is in the card's memory log events 0 3,454
no host pipeline library 1 1
Minimum available host RAM 2,546 MiB 2,699 MiB
Elapsed wall time including startup 114.8 s 125.4 s
Actual child exit 5 5

In the candidate the two original system-compiler diagnostics were E5005 on RWByteAddressBuffer.Load4 and InterlockedOr, each immediately followed by trying DXC. During loading, the host-copy reports changed from zero copies to one 174 MB copy, and later the per-buffer placement messages appeared extensively. These are log-event counts, not unique buffers or proof of correct GPU readback. The compile/load and runtime-path observations are consistent with the intended improvement; no independent physical fixture was run in this particular comparison.

Unfortunately both retail launches showed illustrated loading artwork followed by a black frame with an FPS overlay, then exited. No live 3D scene, representative gameplay FPS, audio correctness or actual controller response was established in either arm. Neither crossed the 512 MiB host-memory guard, and no new OOM kills or recorded kernel GPU faults occurred. The separate missing native pipeline-library warning persists. This is one startup run per arm, not a gameplay performance benchmark or a claim that these changes solve the remaining title failure.

AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7228308193 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7228308193). Originally posted by [ArturoWolff](https://github.com/ArturoWolff) on 2026-11-27T21:17:19Z. --- Additional retail startup A/B on an RTX 4060 desktop (8 GB VRAM, 16 GB system RAM), Linux, NVIDIA 620.73.04, GE-Proton11-14 / vkd3d-proton 3.2.0 (`cae8353ed7959c4+`). I applied your exact #1489 delta (`b344f5b74c974b602914c8b0a498b000158897ea` against `3e573d2`) cleanly to `2eade68cade9b2f8cd2511cc97328e83f58508c3` with the same local adaptation of Filip722's #830 in both arms ([backing comparison](https://github.com/fxceless/victory-fork/pull/830#issuecomment-7228121949)). Credit also to ErRusso's original #20 compiler helper. Rust 1.98.1, cargo-xwin 0.24.2, locked MSVC release, separate build targets. The candidate had Microsoft's DXC 1.9.2609 x64 DLL and accompanying validator available through the explicit `VICTORY_DXC` path; the release ZIP matches the upstream SHA-256. Both launches used independent clones of the same retired profile/prefix, fresh external driver-cache directories, Series X, `--res 1080to1440`, 1920×1080 fullscreen client, 30 FPS cap, BVH builder and water light enabled, no deliberately omitted passes, and mixed physical backing (448 MiB pagefile-first allowance). Neither run had a recorded manual or scripted advance. The old prefix already contained the earlier onboarding state. | Observation (new run log only) | #830 backing control | #830 + #1489 | |---|---:|---:| | System compiler fallback attempts | 0 | 2 | | `DXC failed too` | N/A | 0 | | `no argument clamp` | 1 | 0 | | `no batched argument clamp` | 1 | 0 | | `the compare could not be made` | 1 | 0 | | `a buffer's host copy is in the card's memory` log events | 0 | 3,454 | | `no host pipeline library` | 1 | 1 | | Minimum available host RAM | 2,546 MiB | 2,699 MiB | | Elapsed wall time including startup | 114.8 s | 125.4 s | | Actual child exit | 5 | 5 | In the candidate the two original system-compiler diagnostics were `E5005` on `RWByteAddressBuffer.Load4` and `InterlockedOr`, each immediately followed by `trying DXC`. During loading, the host-copy reports changed from zero copies to one 174 MB copy, and later the per-buffer placement messages appeared extensively. These are log-event counts, not unique buffers or proof of correct GPU readback. The compile/load and runtime-path observations are consistent with the intended improvement; no independent physical fixture was run in this particular comparison. Unfortunately both retail launches showed illustrated loading artwork followed by a black frame with an FPS overlay, then exited. No live 3D scene, representative gameplay FPS, audio correctness or actual controller response was established in either arm. Neither crossed the 512 MiB host-memory guard, and no new OOM kills or recorded kernel GPU faults occurred. The separate missing native pipeline-library warning persists. This is one startup run per arm, not a gameplay performance benchmark or a claim that these changes solve the remaining title failure. AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High).
BitWuehler commented 2026-11-28 17:54:10 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by BitWuehler on 2026-11-28T17:54:10Z.


Hardware test & runtime caller audit on main 368967f + #1489 (b344f5b) on CachyOS Linux (Ryzen 7 9800X3D, RTX 5080 16 GB, driver 620.73.04, GE-Proton11-14 / vkd3d-proton, x86_64-pc-windows-msvc via cargo-xwin, VICTORY_DXC set):

  1. Passing on #1489 as-is:

    • dxc::tests::: 3 passed; 0 failed (0.49s)
    • indirect::tests::argument_clamp_builds: ok
    • host::card_compare::tests::card_copy_compare_builds_on_the_configured_device --ignored: ok (0.46s)
  2. Two remaining runtime D3DCompile sites missed on the 368967f base:

    • crates/victory-gpu/src/host.rs:1470 (host::compile): called by crates/victory-gpu/src/ambient.rs:521 (all 7 cs_5_1 compute passes for VICTORY_AMBIENT / VICTORY_AMBIENT_AIR / VICTORY_AMBIENT_SPECULAR, with embedded [RootSignature(RS)]), host::PlanePass depth-plane twins (host.rs:1516), and resource.rs:4625. On 368967f + #1489 unmodified, ambient::tests::the_passes_build panics on Proton with HRESULT(0x80004005) (ambient.rs:859) because Wine's built-in d3dcompiler_47 omits RTS0, leaving the stand-in ambient/reflection passes broken whenever VICTORY_BVH_BUILDER=0.
    • crates/victory-gpu/src/inplace.rs:767 (Rig::shade): uses RWByteAddressBuffer::Load + [RootSignature(RS)] (VICTORY_INPLACE_PROBE) and also still calls D3DCompile directly (as dxc.rs's module docs mention).
  3. Verified fix: Routing host::compile and inplace::Rig::shade through crate::dxc::compile makes ambient::tests::the_passes_build pass (ok, 0.55s) on the same RTX 5080 + GE-Proton11-14 setup alongside dxc::tests:: (3/3) and card_copy_compare_builds_on_the_configured_device. Folding those two call sites into #1489 would cover all runtime HLSL passes on Proton.

(AI-assisted code audit, hardware test execution, and summary.)

<!-- greyfinch-sync:fxceless/victory-fork:comment:7243376051 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7243376051). Originally posted by [BitWuehler](https://github.com/BitWuehler) on 2026-11-28T17:54:10Z. --- Hardware test & runtime caller audit on `main` `368967f` + #1489 (`b344f5b`) on CachyOS Linux (Ryzen 7 9800X3D, RTX 5080 16 GB, driver `620.73.04`, `GE-Proton11-14` / `vkd3d-proton`, `x86_64-pc-windows-msvc` via `cargo-xwin`, `VICTORY_DXC` set): 1. **Passing on #1489 as-is:** - `dxc::tests::`: `3 passed; 0 failed` (`0.49s`) - `indirect::tests::argument_clamp_builds`: `ok` - `host::card_compare::tests::card_copy_compare_builds_on_the_configured_device --ignored`: `ok` (`0.46s`) 2. **Two remaining runtime `D3DCompile` sites missed on the `368967f` base:** - **`crates/victory-gpu/src/host.rs:1470` (`host::compile`):** called by `crates/victory-gpu/src/ambient.rs:521` (all 7 `cs_5_1` compute passes for `VICTORY_AMBIENT` / `VICTORY_AMBIENT_AIR` / `VICTORY_AMBIENT_SPECULAR`, with embedded `[RootSignature(RS)]`), `host::PlanePass` depth-plane twins (`host.rs:1516`), and `resource.rs:4625`. On `368967f` + #1489 unmodified, `ambient::tests::the_passes_build` **panics on Proton with `HRESULT(0x80004005)`** (`ambient.rs:859`) because Wine's built-in `d3dcompiler_47` omits `RTS0`, leaving the stand-in ambient/reflection passes broken whenever `VICTORY_BVH_BUILDER=0`. - **`crates/victory-gpu/src/inplace.rs:767` (`Rig::shade`):** uses `RWByteAddressBuffer::Load` + `[RootSignature(RS)]` (`VICTORY_INPLACE_PROBE`) and also still calls `D3DCompile` directly (as `dxc.rs`'s module docs mention). 3. **Verified fix:** Routing `host::compile` and `inplace::Rig::shade` through `crate::dxc::compile` makes `ambient::tests::the_passes_build` pass (`ok`, `0.55s`) on the same RTX 5080 + `GE-Proton11-14` setup alongside `dxc::tests::` (3/3) and `card_copy_compare_builds_on_the_configured_device`. Folding those two call sites into #1489 would cover all runtime HLSL passes on Proton. *(AI-assisted code audit, hardware test execution, and summary.)*
Filip722 commented 2026-11-28 18:07:09 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-28T18:07:09Z.


Thanks @BitWuehler for testing and identifying the remaining callers. I reproduced ambient::tests::the_passes_build failing with 0x80004005 on an RTX 5060 Laptop (8 GB), Bazzite 44, NVIDIA 615.78.08 and GE-Proton11-14 / vkd3d-proton 3.2.0. A Series S checkpoint replay also reported that the built-in compiler refused isnan, followed by a failure to build the indirect-light stand-in. The same replay reported a depth-plane twin pipeline creation failure.

The branch is now updated through 368967f. Follow-up commit 974a2c92 reuses the existing compiler fallback for the remaining host shader helper and the in-place probe. Windows MSVC release and asset policy passed. On the physical RTX adapter, all five ambient tests (including creation of all seven pipelines), three compiler tests, the depth-plane fixture, indirect clamp, card comparison and three tiling tests passed. The existing opt-in/debug tiling test remained ignored.

Current main CI fails at the texture-test precedence lint that returned with the replacement tree. The follow-up is confined to the host compiler call paths.

In the matching replay, all seven ambient shaders and the depth-plane pixel shader took the DXC fallback. The prior pipeline errors disappeared. The stationary boat sample after a checkpoint retry was 4.98 FPS before and 4.77 FPS after the change, with minimum free VRAM of 1,992 and 1,981 MiB. These were single runs. The patched boat responded to camera and throttle input. Both runs showed initial rendering artifacts and needed a retry before the comparable view.

Assisted by Codex (GPT-6.2-Sol High).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7243544514 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7243544514). Originally posted by [Filip722](https://github.com/Filip722) on 2026-11-28T18:07:09Z. --- Thanks @BitWuehler for testing and identifying the remaining callers. I reproduced `ambient::tests::the_passes_build` failing with `0x80004005` on an RTX 5060 Laptop (8 GB), Bazzite 44, NVIDIA 615.78.08 and GE-Proton11-14 / vkd3d-proton 3.2.0. A Series S checkpoint replay also reported that the built-in compiler refused `isnan`, followed by a failure to build the indirect-light stand-in. The same replay reported a depth-plane twin pipeline creation failure. The branch is now updated through `368967f`. Follow-up commit `974a2c92` reuses the existing compiler fallback for the remaining host shader helper and the in-place probe. Windows MSVC release and asset policy passed. On the physical RTX adapter, all five ambient tests (including creation of all seven pipelines), three compiler tests, the depth-plane fixture, indirect clamp, card comparison and three tiling tests passed. The existing opt-in/debug tiling test remained ignored. [Current main CI](https://github.com/fxceless/victory-fork/actions/runs/46149577511) fails at the texture-test precedence lint that returned with the replacement tree. The follow-up is confined to the host compiler call paths. In the matching replay, all seven ambient shaders and the depth-plane pixel shader took the DXC fallback. The prior pipeline errors disappeared. The stationary boat sample after a checkpoint retry was 4.98 FPS before and 4.77 FPS after the change, with minimum free VRAM of 1,992 and 1,981 MiB. These were single runs. The patched boat responded to camera and throttle input. Both runs showed initial rendering artifacts and needed a retry before the comparable view. Assisted by Codex (GPT-6.2-Sol High).
Filip722 commented 2026-11-28 19:53:06 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-28T19:53:06Z.


The latest commit checks the DXBC part table for RTS0. I reproduced a false positive with a small compiled pixel shader whose literal had those bytes in its instructions. The regression failed before the change and passed with both Wine's compiler and native FXC.

On the RTX 5060 Laptop under GE-Proton11-14, the focused compiler, ambient, clamp, and depth-plane checks passed (11 total). The separate compositor fixture returned the same 0x80004005 on both revisions of this branch. Its fix is in #1486.

Assisted by Codex (GPT-6.2-Sol High).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7244875775 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7244875775). Originally posted by [Filip722](https://github.com/Filip722) on 2026-11-28T19:53:06Z. --- The latest commit checks the DXBC part table for `RTS0`. I reproduced a false positive with a small compiled pixel shader whose literal had those bytes in its instructions. The regression failed before the change and passed with both Wine's compiler and native FXC. On the RTX 5060 Laptop under GE-Proton11-14, the focused compiler, ambient, clamp, and depth-plane checks passed (11 total). The separate compositor fixture returned the same `0x80004005` on both revisions of this branch. Its fix is in #1486. Assisted by Codex (GPT-6.2-Sol High).
UwUCammie commented 2026-11-28 20:11:35 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by UwUCammie on 2026-11-28T20:11:35Z.


I reproduced this on Wine 11.22 with the built-in d3dcompiler_47. The pixel shader compiled to a 428-byte DXBC container. The raw byte scan found RTS0, while the parser at 5ea2c1c1 found no root signature part. The Wine fork already uses the same table check in borntofrag34/VIctory-7900XTX#30.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7245103963 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1489#issuecomment-7245103963). Originally posted by [UwUCammie](https://github.com/UwUCammie) on 2026-11-28T20:11:35Z. --- I reproduced this on Wine 11.22 with the built-in `d3dcompiler_47`. The pixel shader compiled to a 428-byte DXBC container. The raw byte scan found `RTS0`, while the parser at `5ea2c1c1` found no root signature part. The Wine fork already uses the same table check in borntofrag34/VIctory-7900XTX#30.
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/1489:upstream-pr/1489'
git switch 'upstream-pr/1489'

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/1489'
git switch 'upstream-pr/1489'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1489'
git switch 'upstream-pr/1489'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1489'
git switch 'main'
git merge --squash 'upstream-pr/1489'
git switch 'main'
git merge --ff-only 'upstream-pr/1489'
git switch 'main'
git merge 'upstream-pr/1489'
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
fxceless/victory-fork!1489
No description provided.