https://bugs.winehq.org/show_bug.cgi?id=55212
Bug ID: 55212 Summary: Need for Speed SHIFT demo crashes due to HLSL syntax error "unexpected '<', expecting ';' or ','" Product: vkd3d Version: 1.8 Hardware: x86-64 URL: https://www.fileplanet.com/archive/p-69053/Need-For-Sp eed-Shift-Demo OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com Distribution: ---
Created attachment 74822 --> https://bugs.winehq.org/attachment.cgi?id=74822 VKD3D_SHADER_DEBUG=trace WINEDEBUG=+d3dcompiler
0024:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4. 0024:err:d3dcompiler:D3DCompile2 Shader log: 0024:err:d3dcompiler:D3DCompile2 <anonymous>:1:40: E5000: syntax error, unexpected '<', expecting ';' or ',' 0024:err:d3dcompiler:D3DCompile2
This seems to be the relevant trace:
vkd3d:0024:trace:preproc_lexer_parse float4x4 worldViewProj : WORLDVIEWPROJ < bool appEdit = false ; > ;