https://bugs.winehq.org/show_bug.cgi?id=46435
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #2 from Paul Gofman gofmanp@gmail.com --- Created attachment 63230 --> https://bugs.winehq.org/attachment.cgi?id=63230 Fix comment length in get_instr_length()
I tested the game and could reproduce broken rendering with builtin d3dx9_43 but not the crash. Broken rendering is due to incorrect D3DXGetShaderInputSemantics() results. I am attaching the patch which fixes this issue. Can you test it with this patch to see if the crash goes away too? In case the crash is still there, and is not there with native d3dx9_43, can you please upload WINEDEBUG=+d3dx log?
As a separate note, fixme from D3DXGetShaderConstantTableEx() is not related to this problem. The flag it complains about (the only one documented to this function) is D3DXCONSTTABLE_LARGEADDRESSAWARE. I don't think this flag should actually affect this function behavior, my bet the fixme should be downgraded to warn.