http://bugs.winehq.org/show_bug.cgi?id=27194
--- Comment #14 from Silver number048@gmail.com 2011-07-04 17:21:37 CDT --- I've now done some additional testing. Without the hack I'm not able to start a new game. With the hack the games start but it look really ugly. I also did a test on a different machine with similar results.
Finally I did a test with the open source radeon driver and noticed something peculiar. The same shader (object #8) fails to compile even with the hack. The error message it generates are the following
error: no matching function for call to `texture2DLod(sampler2D, vec2, float)'
The generated shader is compiled as a fragment shader and as such according to the specification can't use any of the Lod functions. After taking a closer look at the shader I found that the shader also uses gl_FragCoord which is a strictly fragment shader variable.
The generated shader code therefore contains restricted elements of both a fragment shader and a vertex shader. Strictly speaking, it should be impossible to compile it on any compiler.