https://bugs.winehq.org/show_bug.cgi?id=55719
Bug ID: 55719 Summary: Grim Down - compiler generates incorrect shader signatures Product: vkd3d Version: 1.9 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: bunglehead@gmail.com Distribution: ---
Created attachment 75224 --> https://bugs.winehq.org/attachment.cgi?id=75224 vs
The game compiles shaders for vs_5_0/ps_5_0 using d3dcompiler_43 with D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY flag.
That should trigger semantic remapping:
* vs: output POSITION -> SV_Position * ps: input POSITION -> SV_Position, output COLORN -> SV_TargetN.
Without compatibility flag semantic names are preserved as is.
https://bugs.winehq.org/show_bug.cgi?id=55719
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 75225 --> https://bugs.winehq.org/attachment.cgi?id=75225 ps
Attaching pixel shader too.
https://bugs.winehq.org/show_bug.cgi?id=55719
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Grim Down - compiler |Grim Dawn - compiler |generates incorrect shader |generates incorrect shader |signatures |signatures
https://bugs.winehq.org/show_bug.cgi?id=55719
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- The option was implemented, now submitted a patch to enable it in wine - https://gitlab.winehq.org/wine/wine/-/merge_requests/5146.
https://bugs.winehq.org/show_bug.cgi?id=55719
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- This is now merged, marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=55719
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |e242b46922c8bc7553183e6f7b7 | |f3b7c69ce2d43
https://bugs.winehq.org/show_bug.cgi?id=55719
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.11.