Repository navigation
Conversation
|
Second commit, from testing this under Wine: the compile-failure fallback alone was not enough for the depth-plane twins. Wine's So a successful system compile is no longer taken as final: if the source asks for a root signature and the container carries none, DXC compiles it too and its bytes are used when they carry one ( Under Wine 11.22 + GE-Proton11-12's vkd3d-proton + DXC 1.9.2609, the crate's suite is 111/112 (the one failure, |
|
I ran the DXC path on native Windows, since it hadn't been run anywhere yet: RTX 5070 (driver 621.40), Windows 11,
The full workspace suite on the first head ( One small thing in Not tested: Wine/Proton itself. |
|
Thanks for running the DXC path on native Windows — the forced-DXC pass and the compiler-without- On the Verified here: |
|
In-game data point for this fallback, since the description notes the title itself was not run: I had made the same change independently (#21, now closed in favour of this PR, which also covers the in-place probe and the dropped root signature). Setup: RTX 4070 Ti 12 GB, NVIDIA 620.70.06 open modules (with NVIDIA/open-gpu-kernel-modules PR #1542), Fedora 45, kernel 7.3.4; Wine from Proton Experimental (11.0-20261027b), vkd3d-proton In the world (two runs of ~25 min):
Update: this PR's own head in the game, and the root-signature half matters visually. I then ran
I had not run this PR's own commit in the game yet; the above is the same approach on AI use: Claude Code, Claude Opus 5.5 ran the builds and runs on my machine and wrote this comment. |
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
|
Correction: the run does not reach the world — saved frames 512–2048 are the splash and the loading art, so ten minutes gets boot, menus, splash and loading, and the 2 800 draws/frame are the loading screen streaming. Everything else below (build, no device removal, fallback not taken, frame cost) stands; read "world frames" as "loading frames". The memory paths themselves are not the problem: a 128 MiB probe in the same prefix does 21 GB/s of mapped upload writes and 143–163 GB/s of card copies (details in #6). An in-game run of this branch under Proton, on AMD, as @leonardo-silva-pinheiro asked for in #6. Short version: it builds and runs cleanly, but on this setup the fallback is never taken, so it does not settle the case either way. Setup: RX 7900 XT (RDNA 3, native 64-lane waves), Mesa 26.3.1 RADV, Vulkan 1.4, CachyOS 7.3.5, KDE Plasma 6 on Wayland; Proton Experimental Build and run: cross-compiled on Linux with The fallback was not used. Proton's Frame cost, for the record (world frames only, more than 800 draws/frame, averaged over ~600 s):
The frame is not GPU bound; host-side copies run at 60–100 MB/s and texture uploads at 13–41 MB/s here, against roughly 1 GB/s in #10's Windows numbers. The presented frame stayed black at 2 800–4 800 draws per frame in both runs. None of this is a judgement on the branch — it is the environment. Two notes that cost real time and are not in the README: Wine's builtin No images, no game data; numbers only. |
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
|
Thanks — a clean in-game run on AMD is useful even where the fallback is inert, and the two environment notes are worth having in #41. Source vs compiler, pinned: the HLSL did not change. Independent datapoint: on this machine, Wine 11.22's built-in
So both failure modes are real at this source revision; Proton Experimental experimental-11.0-20261112 ships a compiler that handles them. Pinning the exact vkd3d-shader/vkd3d-proton version where One caveat on "fallback was not used": on this branch the fallback logs at I updated the README in On #20 vs #21: this does not change the comparison. #20 still covers the in-place probe and the dropped root signature, and because it always tries the system compiler first, the Proton Experimental result above is also its behavior there — the fallback is inert, not a regression. Dropping it would leave the Wine 11.22 / GE-Proton setups from #6 broken. |
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
|
Thanks for the correction — noted, and it changes what the run can be used for. What still holds: on the branch, the compiles the boot/menu/splash/loading path reaches were accepted without the fallback; the card compare is the clearest one, since it built (10 copies of 492 MB). On unmodified What it no longer establishes: the clamp, the depth-plane twins and the in-place probe. The clamp is built lazily on the first indirect execution ( I corrected the README in The frame-cost table re-read as loading frames and the memory probe (21 GB/s mapped writes, 143–163 GB/s card copies) are consistent with your conclusion that the host paths were not the limiter in that run. None of it is a judgment on the branch. A run that reaches the world would settle it; the |
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
|
Independent Linux title comparison: this PR fixes real helper-shader failures here, but a GPU execution fault still blocks the world. Tested your Both runs were offline, Series X, loop limit 256,
AI-assisted testing and analysis. Aggregate results only; no game files, derived shader files or images attached. |
Measured on an RX 7900 XT (RDNA 3) with Mesa 26.3.1 RADV under Proton Experimental: Wine's d3d12 stubs must be kept out (otherwise 0 draws) and HDR must be off on the output (otherwise present blocks at ~400 ms/frame and the watchdog ends the run). World frames average 5-8 s: 134-163 ms on the GPU, the rest host-side copies (60-100 MB/s) and texture uploads (13-41 MB/s). The presented frame is black at 2 800-4 800 draws/frame, with and without PR fxceless#20's DXC fallback.
|
Re-ran the current head
|
The integrated clamp distinguishes ordinary, ahead-of-draw, and split-dispatch records with a mode mask. Pass the ahead-of-draw bit for the windowed benchmark so it exercises the same path as the runtime. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (benchmark on prior DXC base) Assisted-by: gpt-6.2 sol xhigh
Pass entry points and profiles through the string-based runtime shader compiler on the combined branch. This allows the compositor and both upscaler shaders to use the Wine fallback alongside the explicit root signatures. Based-on: fxceless/victory-fork#20 Based-on: ZSlayerHQ/zslayer-pc-port-runtime#10 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (Series S pipeline tests on the source branch) Assisted-by: gpt-6.2 sol xhigh
The DXC fallback removes the parent module's direct FXC imports, so the benchmark fails to compile when the fallback is rebased onto the submit-thread changes. Compile the benchmark's vertex and pixel shaders through the same helper as the clamps so Wine can supply the vertex shader's root signature. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 and vkd3d-proton (3,200-draw benchmark) Assisted-by: gpt-6.2 sol xhigh
The current comparison shader and indirect clamp already use the DXC fallback. In-flight card fetches still compile independently through FXC, so Wine can disable them when the compiler rejects their HLSL or omits the root signature. Use the same compiler for CARD_FETCH and exercise the resulting pipeline on the host adapter. Based-on: gmankab/fxceless-victory@f6e4e06 Based-on: fxceless/victory-fork#20 Based-on: fxceless/victory-fork#648 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 with vkd3d-proton (previous integration smoke test) Assisted-by: gpt-6.2 sol xhigh
The integrated clamp distinguishes ordinary, ahead-of-draw, and split-dispatch records with a mode mask. Pass the ahead-of-draw bit for the windowed benchmark so it exercises the same path as the runtime. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (benchmark on prior DXC base) Assisted-by: gpt-6.2 sol xhigh
Pass entry points and profiles through the string-based runtime shader compiler on the combined branch. This allows the compositor and both upscaler shaders to use the Wine fallback alongside the explicit root signatures. Based-on: fxceless/victory-fork#20 Based-on: ZSlayerHQ/zslayer-pc-port-runtime#10 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (Series S pipeline tests on the source branch) Assisted-by: gpt-6.2 sol xhigh
|
I reproduced a remaining direct D3DCompile call on main I used the same synthetic D3D12 constructor test and a 1 MiB fetch pool for both builds on Bazzite 44, RTX 5060 Laptop 8 GB, NVIDIA 615.78.08, GE-Proton11-14 and vkd3d-proton Test and report prepared with assistance from OpenAI Codex. |
The DXC fallback removes the parent module's direct FXC imports, so the benchmark fails to compile when the fallback is rebased onto the submit-thread changes. Compile the benchmark's vertex and pixel shaders through the same helper as the clamps so Wine can supply the vertex shader's root signature. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 and vkd3d-proton (3,200-draw benchmark) Assisted-by: gpt-6.2 sol xhigh
The current comparison shader and indirect clamp already use the DXC fallback. In-flight card fetches still compile independently through FXC, so Wine can disable them when the compiler rejects their HLSL or omits the root signature. Use the same compiler for CARD_FETCH and exercise the resulting pipeline on the host adapter. Based-on: gmankab/fxceless-victory@f6e4e06 Based-on: fxceless/victory-fork#20 Based-on: fxceless/victory-fork#648 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 with vkd3d-proton (previous integration smoke test) Assisted-by: gpt-6.2 sol xhigh
The integrated clamp distinguishes ordinary, ahead-of-draw, and split-dispatch records with a mode mask. Pass the ahead-of-draw bit for the windowed benchmark so it exercises the same path as the runtime. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (benchmark on prior DXC base) Assisted-by: gpt-6.2 sol xhigh
Pass entry points and profiles through the string-based runtime shader compiler on the combined branch. This allows the compositor and both upscaler shaders to use the Wine fallback alongside the explicit root signatures. Based-on: fxceless/victory-fork#20 Based-on: ZSlayerHQ/zslayer-pc-port-runtime#10 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (Series S pipeline tests on the source branch) Assisted-by: gpt-6.2 sol xhigh
The DXC fallback removes the parent module's direct FXC imports, so the benchmark fails to compile when the fallback is rebased onto the submit-thread changes. Compile the benchmark's vertex and pixel shaders through the same helper as the clamps so Wine can supply the vertex shader's root signature. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 and vkd3d-proton (3,200-draw benchmark) Assisted-by: gpt-6.2 sol xhigh
The current comparison shader and indirect clamp already use the DXC fallback. In-flight card fetches still compile independently through FXC, so Wine can disable them when the compiler rejects their HLSL or omits the root signature. Use the same compiler for CARD_FETCH and exercise the resulting pipeline on the host adapter. Based-on: gmankab/fxceless-victory@f6e4e06 Based-on: fxceless/victory-fork#20 Based-on: fxceless/victory-fork#648 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 with vkd3d-proton (previous integration smoke test) Assisted-by: gpt-6.2 sol xhigh
The integrated clamp distinguishes ordinary, ahead-of-draw, and split-dispatch records with a mode mask. Pass the ahead-of-draw bit for the windowed benchmark so it exercises the same path as the runtime. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (benchmark on prior DXC base) Assisted-by: gpt-6.2 sol xhigh
Pass entry points and profiles through the string-based runtime shader compiler on the combined branch. This allows the compositor and both upscaler shaders to use the Wine fallback alongside the explicit root signatures. Based-on: fxceless/victory-fork#20 Based-on: ZSlayerHQ/zslayer-pc-port-runtime#10 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (Series S pipeline tests on the source branch) Assisted-by: gpt-6.2 sol xhigh
The DXC fallback removes the parent module's direct FXC imports, so the benchmark fails to compile when the fallback is rebased onto the submit-thread changes. Compile the benchmark's vertex and pixel shaders through the same helper as the clamps so Wine can supply the vertex shader's root signature. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 and vkd3d-proton (3,200-draw benchmark) Assisted-by: gpt-6.2 sol xhigh
The current comparison shader and indirect clamp already use the DXC fallback. In-flight card fetches still compile independently through FXC, so Wine can disable them when the compiler rejects their HLSL or omits the root signature. Use the same compiler for CARD_FETCH and exercise the resulting pipeline on the host adapter. Based-on: gmankab/fxceless-victory@f6e4e06 Based-on: fxceless/victory-fork#20 Based-on: fxceless/victory-fork#648 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 with vkd3d-proton (previous integration smoke test) Assisted-by: gpt-6.2 sol xhigh
The integrated clamp distinguishes ordinary, ahead-of-draw, and split-dispatch records with a mode mask. Pass the ahead-of-draw bit for the windowed benchmark so it exercises the same path as the runtime. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (benchmark on prior DXC base) Assisted-by: gpt-6.2 sol xhigh
Pass entry points and profiles through the string-based runtime shader compiler on the combined branch. This allows the compositor and both upscaler shaders to use the Wine fallback alongside the explicit root signatures. Based-on: fxceless/victory-fork#20 Based-on: ZSlayerHQ/zslayer-pc-port-runtime#10 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (Series S pipeline tests on the source branch) Assisted-by: gpt-6.2 sol xhigh
The DXC fallback removes the parent module's direct FXC imports, so the benchmark fails to compile when the fallback is rebased onto the submit-thread changes. Compile the benchmark's vertex and pixel shaders through the same helper as the clamps so Wine can supply the vertex shader's root signature. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 and vkd3d-proton (3,200-draw benchmark) Assisted-by: gpt-6.2 sol xhigh
The current comparison shader and indirect clamp already use the DXC fallback. In-flight card fetches still compile independently through FXC, so Wine can disable them when the compiler rejects their HLSL or omits the root signature. Use the same compiler for CARD_FETCH and exercise the resulting pipeline on the host adapter. Based-on: gmankab/fxceless-victory@f6e4e06 Based-on: fxceless/victory-fork#20 Based-on: fxceless/victory-fork#648 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 with vkd3d-proton (previous integration smoke test) Assisted-by: gpt-6.2 sol xhigh
The integrated clamp distinguishes ordinary, ahead-of-draw, and split-dispatch records with a mode mask. Pass the ahead-of-draw bit for the windowed benchmark so it exercises the same path as the runtime. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (benchmark on prior DXC base) Assisted-by: gpt-6.2 sol xhigh
Pass entry points and profiles through the string-based runtime shader compiler on the combined branch. This allows the compositor and both upscaler shaders to use the Wine fallback alongside the explicit root signatures. Based-on: fxceless/victory-fork#20 Based-on: ZSlayerHQ/zslayer-pc-port-runtime#10 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (Series S pipeline tests on the source branch) Assisted-by: gpt-6.2 sol xhigh
The DXC fallback removes the parent module's direct FXC imports, so the benchmark fails to compile when the fallback is rebased onto the submit-thread changes. Compile the benchmark's vertex and pixel shaders through the same helper as the clamps so Wine can supply the vertex shader's root signature. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 and vkd3d-proton (3,200-draw benchmark) Assisted-by: gpt-6.2 sol xhigh
The current comparison shader and indirect clamp already use the DXC fallback. In-flight card fetches still compile independently through FXC, so Wine can disable them when the compiler rejects their HLSL or omits the root signature. Use the same compiler for CARD_FETCH and exercise the resulting pipeline on the host adapter. Based-on: gmankab/fxceless-victory@f6e4e06 Based-on: fxceless/victory-fork#20 Based-on: fxceless/victory-fork#648 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 with vkd3d-proton (previous integration smoke test) Assisted-by: gpt-6.2 sol xhigh
The integrated clamp distinguishes ordinary, ahead-of-draw, and split-dispatch records with a mode mask. Pass the ahead-of-draw bit for the windowed benchmark so it exercises the same path as the runtime. Based-on: fxceless/victory-fork#20 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (benchmark on prior DXC base) Assisted-by: gpt-6.2 sol xhigh
Pass entry points and profiles through the string-based runtime shader compiler on the combined branch. This allows the compositor and both upscaler shaders to use the Wine fallback alongside the explicit root signatures. Based-on: fxceless/victory-fork#20 Based-on: ZSlayerHQ/zslayer-pc-port-runtime#10 Tested-on: AMD Radeon RX 6800, Fedora Linux 45, Wine 11.0 (Series S pipeline tests on the source branch) Assisted-by: gpt-6.2 sol xhigh
Fixes #6 (part 1).
What
Under Wine and Proton
D3DCompileis Wine'sd3dcompiler_47(vkd3d-shader), and it fails the host's own HLSL in two different ways:E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'(the clamp, the card compare, the in-place probe). Each caller then gave up quietly: the indirect-argument clamp was dropped, so every indirect execution was; the card compare could not be made, so copies in the card's memory switched off; the in-place probe had no pipeline.RWByteAddressBufferin their source). The container carries noRTS0chunk, soCreateRootSignatureover those bytes fails withE_FAILand the twins logno pipeline to draw a depth plane from its twin.crates/victory-gpu/src/dxc.rsnow compiles our HLSL in one place:D3DCompilefirst, as before;dxcompiler.dll) as shader model 6.0,*_5_1mapped to*_6_0,-E <entry>,-O3. The root signature stays inside the shader, so the callers only see bytes. A stage with no root signature of its own (a vertex shader whose pixel shader carries it) keeps the system's bytes;dxcompiler.dllis looked for inVICTORY_DXC(the DLL or its folder), beside thedxil.dllshader validation already uses (the SDK ships them together), then the executable's folder and System32;dxil.dllcarries a zero digest, which D3D12 refuses: such containers are validated (and signed) in place,VICTORY_DXILnaming the validator if it is somewhere else.Callers routed through it: the clamp in
indirect.rs(make_for, and the tests'compile_cs),host.rscompile()(the depth-plane twins) andmake_card_work(the card compare),inplace.rsshade(). The refusal, the missing root signature and the fallback are logged once per compile, with entry and profile.Adds the
Win32_Graphics_Direct3D_Dxcfeature to thewindowscrate invictory-gpu(no new crates,Cargo.lockunchanged). README: the fallback and theVICTORY_DXC/dxil.dllrequirement under Wine.Testing
Run under Wine 11.22 with GE-Proton11-12's vkd3d-proton (
d3d12.dll/d3d12core.dlloverridden to native), DXC 1.9.2609 (VICTORY_DXC, the same version as in #6), on an RTX 4060 with the 620.73.04 driver — the same driver series as the report.pipeline::library::tests::a_rejected_blob_gives_an_empty_library, which fails identically with these changes stashed: vkd3d-proton does not implementID3D12Device1::CreatePipelineLibrary. Unrelated.resource::tests::a_depth_planes_twin_is_drawn_into_the_planefails before the root-signature part of this PR and passes after it — that test compiles the twins' vertex and pixel shaders throughhost::compile()and draws with them.indirect::tests::argument_clamp_buildsbuilds the clamp through the fallback (the host device exists under Wine; it is not a skip).dxc::tests::a_shader_the_system_compiler_refuses_is_compiled_by_dxc: the log showsthe system compiler refused it: Call failed. (0x80004005), then aDXILcontainer with a nonzero digest and anRTS0chunk, and D3D12 takes the root signature out of it and creates the compute pipeline (D3D12 took the root signature and made the pipeline).Verification since the original run
487 passed, 0 failed, 7 ignored;victory-gpu --lib113 passed; clippy clean.litnow asks for no root signature and keepsD3DCompilebytes;main,planeandcornerask for one and keep it, so DXC is not entered on Windows. Forcing every compile through DXC: 113 passed, 19 DXC compiles. WithVICTORY_DXCpointing at a folder holding onlydxcompiler.dll: 113 passed.14a1f07):d3dcompiler_47refused the clamp (E5005: InterlockedMax), the card compare (E5005: Load4) and the in-place probe (E5005: Load), and accepted the twins' pixel shader withoutRTS0. DXC supplied all four. A run reached the prologue (frame 13,124; missionfbk_stry000_FBK_STRY000_INTRO; 32 peds, 3596 buildings), with the clamp, card compare, probe and twins all used.no argument clamp/not bounded/DXC failed too; 2,147 indirect commands bounded per frame; 946 SPIR-V modules validate for Vulkan 1.3 with scalar-block-layout.VICTORY_INPLACE_PROBEunset): DXC supplied the clamp and the twins' pixel shader;clamp used (bound)anddepth-plane twin usedwere logged at 1,434 draws/frame. The kernel then logged NVRMgpu_vaspace.cassertion failures and the machine hung after about seven minutes. This reproduces the separate GPU/driver fault on a second GPU and without the in-place probe, so it is not probe-induced.Scope: this fixes the run-time HLSL compiles. It does not claim the vkd3d-proton GPU execution fault/device removal: on @ThomasHFWright's stack the control still ends with Xid 109, and this branch with Xid 13 in a different submission; locally the same class of NVRM
gpu_vaspace.cfailure hangs an RTX 4060. The world remains blocked there for a separate reason. The intro-video flicker, theVICTORY_RELAY=2geometry dropout and the three untranslated skin shaders are also separate.AI-assisted: written with the pi coding agent at my request.