[Bug 17577] Lost Planet's shader compile failure

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 1 14:26:28 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=17577





--- Comment #1 from Stefan Dösinger <stefandoesinger at gmx.at>  2009-03-01 14:26:28 ---
The fixme is caused by the shader the game passes in. In D3D, it is legal to
use texldl in a pixel shader, but in opengl you can't use the equivalent
Texture*Lod in a fragment shader. However, most drivers still allow it.

I don't quite understand the driver's complaints about the shader, it seems a
bit obscure. Note though that "Using texture2DLod in fragment shader" is NOT in
the real shader. It is just written to the FIXME channel between the
shader_addline traces, that makes it look strange.

What could be wrong though is that there seems to be a "R1.xyzw =" too much.
Maybe I forgot to remove a shader_add_dst call in my recent patches.


-- 
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