https://bugs.winehq.org/show_bug.cgi?id=35213
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #6 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Andrey Gusev from comment #5)
Created attachment 60751 [details] +d3dx
wine-3.3-235-g1c8c9308e7
So, this is with builtin d3dx9 but native d3dcompiler_43.dll. Effect compilation still fails:
0030:trace:d3dx:d3dx9_base_effect_init HLSL ASCII effect, trying to compile it. 0030:warn:d3dx:d3dx9_base_effect_init Failed to compile ASCII effect. ... 0030:trace:d3dx:d3dx9_base_effect_init "(93,11): error X3003: redefinition of 'Ambient_Sprites_VS11_PS11'"
D3DCompile() should have been invoked with the D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY flag, given the d3dx9 versions mentioned in the bug subject. This probably means that it's not enough and the d3dcompiler_43.dll effect compiler is just incompatible with those older effects :/
I'll probably try to have a look myself at some point. The current URL does not work, does https://www.fileplanet.com/183621/180000/fileinfo/Kane-and-Lynch-Demo reproduce the issue?