http://bugs.winehq.org/show_bug.cgi?id=17577
Summary: Lost Planet's shader compile failure Product: Wine Version: 1.1.16 Platform: PC URL: http://www.lostplanet-thegame.com/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: andras@csevego.net CC: stefandoesinger@gmx.at
Created an attachment (id=19735) --> (http://bugs.winehq.org/attachment.cgi?id=19735) shader generation/compilation log
When game starts, it would like to compile some shaders. But I think transition between d3d - opengl fragment shader is broken. It results broken picture. Look at this line: trace:d3d_shader:shader_addline GL HW (21, 437) : R0.xyzw = (Using texture2DLod in fragment shader. It can be a copy paste bug or mistyped variable.
Partial shader generation log attached.
http://bugs.winehq.org/show_bug.cgi?id=17577
--- Comment #1 from Stefan Dösinger stefandoesinger@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.
http://bugs.winehq.org/show_bug.cgi?id=17577
--- Comment #2 from Austin English austinenglish@gmail.com 2009-09-03 12:25:16 --- Is this still an issue in current (1.1.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=17577
Andras Kovacs andras@csevego.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Andras Kovacs andras@csevego.net 2010-01-28 16:17:21 --- (In reply to comment #2)
Is this still an issue in current (1.1.29 or newer) wine?
No, the game currently works for me. Slow, but works. I'll mark it fixed then.
http://bugs.winehq.org/show_bug.cgi?id=17577
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2010-02-05 11:38:50 --- Closing bugs fixed in 1.1.38.