victory-gpu: compile two-plane composer as sm_5_0 with explicit root signature #409
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/409"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from readmet3xt-lab/foxhound. Originally posted by kwaadrat on 2026-12-01T23:03:50Z.
Summary
Composershaders (vs,psincrates/victory-gpu/src/compose.rs) asvs_5_0/ps_5_0viacrate::host::compileinstead ofvs_5_1/ps_5_1with inline[RootSignature(RS)].D3D12SerializeVersionedRootSignature(make_root_signature), keeping the exact same pixel SRV descriptor table (t0..t1) ands0linear clamp static sampler.Why
Neither
vsnorpsincompose.rsuses Shader Model 5.1 features —5_1was only required for[RootSignature(RS)]. Under Wine/Proton (d3dcompiler_47), compiling5_1shaders with[RootSignature(...)]fails withE_FAIL (0x80004005):When
Composer::newfails, the second (over) plane is never composited onto the base plane on Series S, hiding loading screens, menus, and HUD overlays.Using
crate::host::compilealso logs anyD3DCompileerror blob instead of discarding it.Verification
victory.exeonwindows-latest(cargo build --release --locked -p victory) and tested on RTX 3060 12 GB under Proton Experimental (vkd3d-proton) with the Series S (1080p) profile:two-plane composer not madeno longer occurs and theoverplane (HUD/notifications) renders properly.Imported from readmet3xt-lab/foxhound. Originally posted by readmet3xt-lab on 2026-12-02T01:48:49Z.
Thank you. These pin down exactly which of our own shaders fail under Proton's built-in compiler and what it costs when the card-side compare is missing, which is the clearest data we have on #407. We're going to solve it one level lower: our shaders will ship already compiled, so no shader compiler is asked at run time on any system, and Windows keeps exactly the bytecode it has today. Because of that we won't merge these three as they are (they change the shader model and two buffer types on Windows too). Your findings and measurements go into that change, with credit. When the build is out, a run under Proton with Full logs from you would be the best test we could get.
Pull request closed