https://bugs.winehq.org/show_bug.cgi?id=53874
Bug ID: 53874 Summary: Invalid SPIR-V created for World of Warcraft (Dragonflight) Product: vkd3d Version: 1.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vkd3d Assignee: wine-bugs@winehq.org Reporter: rankincj@yahoo.com Distribution: ---
Created attachment 73400 --> https://bugs.winehq.org/attachment.cgi?id=73400 SPIR-V dump of compute shader
Fedora 36 updated to Wine 7.19 and libvkd3d-1.5, and now World of Warcraft crashes before even rendering the login scree, complaining about an invalid COMPUTE shader: ``` NIR validation failed after spirv_to_nir 2 errors: shader: MESA_SHADER_COMPUTE source_sha1: {0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000} workgroup-size: 64, 1, 1 shared-size: 0 inputs: 0 outputs: 0 uniforms: 32 ubos: 1 shared: 0 ray queries: 0 ``` I am using Mesa's RADV driver, so managed to obtain a dump of the SPIR-V shader via `RADV_DEBUG=spirv`.
See this [Mesa bug report](https://gitlab.freedesktop.org/mesa/mesa/-/issues/7618) for more details.
https://bugs.winehq.org/show_bug.cgi?id=53874
Chris Rankin rankincj@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Invalid SPIR-V created for |Invalid NIR created from |World of Warcraft |SPIR-V for World of |(Dragonflight) |Warcraft (Dragonflight)
https://bugs.winehq.org/show_bug.cgi?id=53874
--- Comment #1 from Chris Rankin rankincj@yahoo.com --- Created attachment 73410 --> https://bugs.winehq.org/attachment.cgi?id=73410 WINEDEBUG outout
RADV_DEBUG=spirv WINEDEBUG=warn+all
https://bugs.winehq.org/show_bug.cgi?id=53874
--- Comment #2 from Chris Rankin rankincj@yahoo.com --- The problem still exists with Wine 7.20 from updates-testing.
https://bugs.winehq.org/show_bug.cgi?id=53874
Conor McCarthy cmccarthy@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cmccarthy@codeweavers.com
--- Comment #3 from Conor McCarthy cmccarthy@codeweavers.com --- This should be fixed by commit 1b11b576.