https://bugs.winehq.org/show_bug.cgi?id=56950
Bug ID: 56950 Summary: SRB2 Zone Builder throws exception when creating a new map (shader fails to compile with "E5000: syntax error, unexpected '<', expecting ';' or ','") Product: vkd3d Version: 1.12 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: alexhenrie24@gmail.com Distribution: ---
Created attachment 76766 --> https://bugs.winehq.org/attachment.cgi?id=76766 WINEDEBUG=+d3dcompiler
Steps to reproduce:
1. Install and run Zone Builder from Zone_Builder_v3.0-rc3_Setup.exe
2. Click the Close button on the first error dialog
3. Click the New Map button, then OK and Yes
A .NET exception dialog appears that says "CompilationException while loading effect display2d.fx: <anonymous>:35:1: E5000: syntax error, unexpected '<', expecting ';' or ','".
The shader that fails to compile is https://git.do.srb2.org/STJr/ZoneBuilder/-/blob/e74f44adcf58669813059db161f1...
`winetricks d3dx9_43 d3dcompiler_43 micross` resolves the problem.
First reported at https://mb.srb2.org/threads/another-zone-builder-error-on-wine.42640/
$ sha256sum Zone_Builder_v3.0-rc3_Setup.exe 4776d485ab32b3ae57dd01154d28ce5bccbe898b35002802c6451b4ba7c39cf0
https://bugs.winehq.org/show_bug.cgi?id=56950
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source URL| |https://git.do.srb2.org/STJ | |r/ZoneBuilder/uploads/b2f05 | |8b5a7cc39273c22a0174559828e | |/Zone_Builder_v3.0-rc3_Setu | |p.exe
https://bugs.winehq.org/show_bug.cgi?id=56950
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- First issue is annotations support on variables. That's easy to add https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/937. It will already work for fx_4_0/fx_5_0 with this MR.
For fx_2_0 I need to add annotations support in general. After that there will be more problems.
https://bugs.winehq.org/show_bug.cgi?id=56950
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- IS this the same bug as bug 55212?