https://bugs.winehq.org/show_bug.cgi?id=54372
Bug ID: 54372 Summary: World in Conflict crashes due to missing SM1 'cast' handling Product: vkd3d Version: 1.6 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: hlsl Assignee: wine-bugs@winehq.org Reporter: gijsvrm@gmail.com Distribution: ---
Split off from bug 41310.
0024:err:d3dcompiler:D3DCompile2 Shader log: 0024:err:d3dcompiler:D3DCompile2 <anonymous>:7:1: E5017: Aborting due to not yet implemented feature: SM1 "cast" expression. 0024:err:d3dcompiler:D3DCompile2
https://bugs.winehq.org/show_bug.cgi?id=54372
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- Can you please attach a log with VKD3D_SHADER=trace for this one?
https://bugs.winehq.org/show_bug.cgi?id=54372
--- Comment #2 from Zeb Figura z.figura12@gmail.com --- (In reply to Zeb Figura from comment #1)
Can you please attach a log with VKD3D_SHADER=trace for this one?
Oops, that's VKD3D_SHADER_DEBUG=trace.
https://bugs.winehq.org/show_bug.cgi?id=54372
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 73945 --> https://bugs.winehq.org/attachment.cgi?id=73945 VKD3D_DEBUG=trace
https://bugs.winehq.org/show_bug.cgi?id=54372
--- Comment #4 from Zeb Figura z.figura12@gmail.com --- Ah, it implicitly casts half4 to float4. We need to fold that out...
https://bugs.winehq.org/show_bug.cgi?id=54372
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|World in Conflict crashes |World in Conflict crashes |due to missing SM1 'cast' |due to shader compilation |handling |failure (cast from half4 to | |float4)
https://bugs.winehq.org/show_bug.cgi?id=54372
--- Comment #5 from Rafał Mużyło galtgendo@o2.pl --- I'm not sure if it's already been fixed, but I'd like to mention two other casts, that may still be unimplemented:
- float4 ->float[4]
- struct foo foo1 = (foo) 0 - where 'struct foo' is a previously defined struct
https://bugs.winehq.org/show_bug.cgi?id=54372
Andrey Gusev andrey.goosev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|World in Conflict crashes |Multiple games crash due to |due to shader compilation |shader compilation failure |failure (cast from half4 to |(cast from half4 to float4) |float4) |(World in Conflict, Sniper: | |Ghost Warrior)
https://bugs.winehq.org/show_bug.cgi?id=54372
--- Comment #6 from Andrey Gusev andrey.goosev@gmail.com --- Black screen in Rayman Origins, FlatOut: Ultimate Carnage with no crash.
1.7-207-gdc414449
https://bugs.winehq.org/show_bug.cgi?id=54372
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=54372
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #7 from Vijay Kamuju infyquest@gmail.com --- can you please reset it with latest wine?
https://bugs.winehq.org/show_bug.cgi?id=54372
Maik Wagner maiktapwagner@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maiktapwagner@aol.com
--- Comment #8 from Maik Wagner maiktapwagner@aol.com --- Created attachment 77040 --> https://bugs.winehq.org/attachment.cgi?id=77040 wine-9.15-449-g164992ecbef (Staging) - Console output
Hello everyone,
as "World in Conflict" has been mentioned and I
- have this game in my gog.com library - am always interested in RTS-games
I decided to give it a go with
bash-5.1$ wine --version wine-9.15-449-g164992ecbef (Staging)
on my Slackware 15.0 box in a fresh prefix.
Installation of the following files went fine:
bash-5.1$ sha1sum setup_world_in_conflict_2.0.0.3.exe 023aca0928f59d736c2bf82177c5344cf4524aa9 setup_world_in_conflict_2.0.0.3.exe
bash-5.1$ sha1sum setup_world_in_conflict_2.0.0.3-1.bin f8c46c4ea4b5ea9ec7a12e17d66a586342047258 setup_world_in_conflict_2.0.0.3-1.bin
bash-5.1$ sha1sum setup_world_in_conflict_2.0.0.3-2.bin 3a296c1962b170dddd0c6f511bea6b5e4bfa2d09 setup_world_in_conflict_2.0.0.3-2.bin
Screen goes black when running wic.exe with wine and returns to the desktop when running with the following command line:
wine wic 2&>/home/mwagner/Desktop/WorldInConflictOutput.txt
I am not sure if this helps but I surely did my very best.
Have a good day, Maik