https://bugs.winehq.org/show_bug.cgi?id=57686
Bug ID: 57686 Summary: Thief (2014) requires 'GroupMemoryBarrierWithGroupSync' support Product: vkd3d Version: 1.14 Hardware: x86-64 OS: Linux Status: NEW Severity: minor Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
09b4:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 09b4:err:d3dcompiler:D3DCompile2 Shader log: 09b4:err:d3dcompiler:D3DCompile2 ....\Engine\Shaders\Compute\DoFBlurBGCS.hlsl:35:51: E5000: Invalid subscript "Length". 09b4:err:d3dcompiler:D3DCompile2 ....\Engine\Shaders\Compute\DoFBlurBGCS.hlsl:35:5: E5002: Can't implicitly convert from <error type> to int. 09b4:err:d3dcompiler:D3DCompile2 ....\Engine\Shaders\Compute\DoFBlurBGCS.hlsl:42:83: E5000: Invalid subscript "Length". 09b4:err:d3dcompiler:D3DCompile2 ....\Engine\Shaders\Compute\DoFBlurBGCS.hlsl:43:83: E5000: Invalid subscript "Length". 09b4:err:d3dcompiler:D3DCompile2 ....\Engine\Shaders\Compute\DoFBlurBGCS.hlsl:44:83: E5000: Invalid subscript "Length". 09b4:err:d3dcompiler:D3DCompile2 ....\Engine\Shaders\Compute\DoFBlurBGCS.hlsl:45:83: E5000: Invalid subscript "Length". 09b4:err:d3dcompiler:D3DCompile2 ....\Engine\Shaders\Compute\DoFBlurBGCS.hlsl:46:1: E5005: Function "GroupMemoryBarrierWithGroupSync" is not defined. 09b4:err:d3dcompiler:D3DCompile2
1.14-278-ga082daeb
https://bugs.winehq.org/show_bug.cgi?id=57686
Francisco Casas fcasas@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fcasas@codeweavers.com
--- Comment #1 from Francisco Casas fcasas@codeweavers.com --- I can reproduce the bug, albeit I am getting
vkd3d:441637:err:hlsl_free_instr Failed assertion: list_empty(&node->uses)
with current master on the cs_5_0 shader.
By removing the conditional block that causes this parse error, I see:
Function "GroupMemoryBarrierWithGroupSync" is not defined.
I will keep investigating.
https://bugs.winehq.org/show_bug.cgi?id=57686
--- Comment #2 from Francisco Casas fcasas@codeweavers.com --- .Length is implemented in:
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1452
Next is to implement GroupMemoryBarrierWithGroupSync().
http://bugs.winehq.org/show_bug.cgi?id=57686
--- Comment #3 from Francisco Casas fcasas@codeweavers.com --- GroupMemoryBarrierWithGroupSync() is implemented in:
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1470