[Bug 27194] The Witcher 2: White/coloured screen with UseGLSL=enabled

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 4 17:21:37 CDT 2011


--- Comment #14 from Silver <number048 at 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.

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list