https://bugs.winehq.org/show_bug.cgi?id=56402
Bug ID: 56402 Summary: Batman: Arkham Origins Blackgate - Deluxe Edition fails to launch Product: vkd3d Version: 1.10 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Created attachment 76154 --> https://bugs.winehq.org/attachment.cgi?id=76154 shader
0468:trace:d3dcompiler:D3DCompile data 008CC4D0, data_size 356, filename (null), defines 00000000, include 00000000, entrypoint "vmain", target "vs_3_0", sflags 0x8000, eflags 0, shader 0050F5FC, error_messages 0050F5B4. 0468:trace:d3dcompiler:D3DCompile2 data 008CC4D0, data_size 356, filename (null), macros 00000000, include 00000000, entry_point "vmain", profile "vs_3_0", flags 0x8000, effect_flags 0, secondary_flags 0, secondary_data 00000000, secondary_data_size 0, shader_blob 0050F5FC, messages_blob 0050F5B4. 0468:trace:d3dcompiler:D3DCompile data 008CC638, data_size 273, filename (null), defines 00000000, include 00000000, entrypoint "pmain", target "ps_3_0", sflags 0x8000, eflags 0, shader 0050F5F0, error_messages 0050F5B4. 0468:trace:d3dcompiler:D3DCompile2 data 008CC638, data_size 273, filename (null), macros 00000000, include 00000000, entry_point "pmain", profile "ps_3_0", flags 0x8000, effect_flags 0, secondary_flags 0, secondary_data 00000000, secondary_data_size 0, shader_blob 0050F5F0, messages_blob 0050F5B4.
vkd3d-1.10-526-g500b61c3
https://bugs.winehq.org/show_bug.cgi?id=56402
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Does native compiler fix this? Both shaders compile without errors with current vkd3d.
https://bugs.winehq.org/show_bug.cgi?id=56402
--- Comment #2 from Andrey Gusev andrey.goosev@gmail.com --- It works with native d3dcompiler_47.
https://bugs.winehq.org/show_bug.cgi?id=56402
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- I think this might be a case of broken declarations again in a pixel shader, very similar to https://bugs.winehq.org/show_bug.cgi?id=55829#c6.
We generate:
dcl_position0 v0 dcl_texcoord0 v0
(on windows dcl_position0 is printed as dcl, not sure why or if it matters).
Here position variable is not used in the shader, but declaration is still created for it, sharing the register with texcoord0.
https://bugs.winehq.org/show_bug.cgi?id=56402
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/699
https://bugs.winehq.org/show_bug.cgi?id=56402
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Declaration part is fixed now, https://source.winehq.org/git/vkd3d.git/commit/25d353db91b99b8fc93a02a3db29e.... If you're able to test, it's enough to apply this change only to wine's builtin copy of vkd3d 1.11.
https://bugs.winehq.org/show_bug.cgi?id=56402
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Andrey Gusev andrey.goosev@gmail.com --- I'm using a daily builds. https://source.winehq.org/git/vkd3d.git/commit/25d353db91b99b8fc93a02a3db29e... fixes the issue.
https://bugs.winehq.org/show_bug.cgi?id=56402
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |25d353db91b99b8fc93a02a3db2 | |9ec3002825189
https://bugs.winehq.org/show_bug.cgi?id=56402
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Great, thanks.
https://bugs.winehq.org/show_bug.cgi?id=56402
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Nikolay Sivov bunglehead@gmail.com --- Closing bugs fixed in 1.13.