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 ; > ;
https://bugs.winehq.org/show_bug.cgi?id=55212
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- That's annotations that are only used for "fx" profiles. They are still parsed and validated on regular profiles.
https://bugs.winehq.org/show_bug.cgi?id=55212
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.goosev@gmail.com
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- *** Bug 54391 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=55212
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Need for Speed SHIFT demo |Need for Speed SHIFT |crashes due to HLSL syntax |crashes due to HLSL syntax |error "unexpected '<', |error "unexpected '<', |expecting ';' or ','" |expecting ';' or ','"
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Still present with wine-8.17 and current vkd3d-git. Also present with the full game (given bug 54391.