http://bugs.winehq.org/show_bug.cgi?id=17437
Connor connormcl@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |connormcl@hotmail.com
--- Comment #17 from Connor connormcl@hotmail.com 2009-02-22 16:46:48 --- (In reply to comment #8)
A temporary workaround this driver bug is to use glxinfo -l to get the value of GL_MAX_VARYING_FLOATS_ARB divide it by 4 and then subtract 4. For my HD4850 this would be 68 / 4 - 4 = 13.
Go into dlls/wined3d/glsl_shader.c and replace every "(GL_LIMITS(glsl_varyings) / 4" with the value that you calculated, for me that would be "13". This hardcodes the varying value to wine so it isn't a clean fix but it'll work temporarily at least until the bug gets fixed.
I recompiled wine 1.1.15 with values from 12-14 using a HD3850 and Catalyst 9.2.
Most models render now, but i found at least one that doesn't render:
The Hulk - it shows effects, but not the ship. Instead it shows 6 small spheres.
Commandline output:
fixme:d3d_texture:basetexture_set_autogen_filter_type >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from glTexParameteri(textureDimensions, GL_GENERATE_MIPMAP_HINT_SGIS, GL_NICEST) @ basetexture.c / 145
fixme:d3d_shader:print_glsl_info_log Error received from GLSL shader #36: "Fragment shader(s) linked, vertex shader(s) linked. \nWARNING: 0:2: extension 'GL_ARB_draw_buffers' is not supported "