http://bugs.winehq.org/show_bug.cgi?id=31988
--- Comment #7 from GyB gyebro69@gmail.com 2012-10-30 22:16:52 CDT --- (In reply to comment #6)
Created attachment 42335 [details] Improve constant table handling
Attached is a patch, which improves the constant table handling. What's still missing is the handling of structures and *PointerArray()s.
I couldn't try the patch with Jericho, it seems to fail on a AMD 4350 with open source drivers: fixme:d3d_surface:surface_allocate_surface No GL internal format for format WINED3DFMT_R32_FLOAT. It later fails when attaching this format to the fbo.
Thanks, the patch fixes the reported problem in both games. One problem remains in Jericho: intro videos play in black and white with built-in d3dx9_36. This could be a different problem, probably related to these messages: ... fixme:d3dcompiler:D3DCompile data 0x758668, data_size 1054, filename (null), defines (nil), include (nil), entrypoint "main", target "ps_2_0", sflags 0, eflags 0, shader 0x33e5f0, error_messages (nil) stub! err:d3dcompiler:compile_shader HLSL shader parsing failed. ...