https://bugs.winehq.org/show_bug.cgi?id=55685
Bug ID: 55685 Summary: FlatOut 2 crashes due to HLSL syntax error 'unexpected NEW_IDENTIFIER' Product: vkd3d Version: 1.9 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com Distribution: ---
Created attachment 75206 --> https://bugs.winehq.org/attachment.cgi?id=75206 log + shader
0024:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0024:err:d3dcompiler:D3DCompile2 Shader log: 0024:err:d3dcompiler:D3DCompile2 <anonymous>:11:1: E5000: syntax error, unexpected NEW_IDENTIFIER 0024:err:d3dcompiler:D3DCompile2
Attached is an archive including a vkd3d & +d3dcompiler log and the relevant dumped shader.
This might be related to bug 54872, but I'm not sure.
https://bugs.winehq.org/show_bug.cgi?id=55685
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- It compiles for fx_2_0 which is not implemented.
First failure is likely about string constant support, after that comes fx syntax that won't work. And a larger issue is missing assembler probably. We currently have it in d3dcompiler itself, and it will have to move to vkd3d-shader.
https://bugs.winehq.org/show_bug.cgi?id=55685
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |50382