Under Wine the run-time shaders do not compile: no ambient light, no merge on the card (the layer's compile, DXC where the system's refuses) #113
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/uiliannn--VItoriaBr#113
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@slauko on GitHub · 2026-11-26 07:33 UTC · original
Under Wine (Proton Experimental's Wine, vkd3d-proton
ec20719, RTX 3080 Ti) the layer's own shaders fail when they are compiled with the system's compiler: Wine's built-ind3dcompiler_47refuses them, or takes them and leaves the root signature out.What the log says, on
main4e038bf3d:ambient.rs:no ambient light … error=0x80004005in every run; the cell stays dark where the build before the merge showed it lit.host.rs,make_card_merge(#37):no merge on the card (VICTORY_MERGE_ON_CARD): the bytes go up as copies error=0x80004005— the merge never runs.indirect.rs:E5005: Method 'InterlockedMax' is not defined on type 'RWByteAddressBuffer'. Without the clamp every indirect execution is dropped; without the compare the card buffers are off.What works here: every run-time shader goes through one compile that takes the system's compiler and, where that refuses, DXC (
dxcompiler.dllanddxil.dll, release v1.9.2609: a*_5_1target compiled as*_6_0, the root signature inside; a container DXC signs without findingdxil.dllcarries a zero digest, which D3D12 refuses, so it is signed there). With it:ambient light level=0.6 width=2560 height=1440, and the merge on the card runs.The commits are in slauko/gta6-slk, branch
integration:16a94bdc(the ambient light),a37da68b(the merge on the card); the module iscrates/victory-gpu/src/dxc.rs, taken from fxceless/victory-fork#20 (VICTORY_DXC), as the local patch of Marvisak/VIctory#1528 does it.Nothing changes on Windows: FXC's result is taken as before, DXC only where the system's compiler fails. It holds for every run-time shader a merge brings in — the compare's wide form went the same way.