http://bugs.winehq.org/show_bug.cgi?id=17832 Summary: FEAR 1.08: Pixelshader compilation fails with ARB backend Product: Wine Version: 1.1.17 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs(a)winehq.org ReportedBy: liquid.acid(a)gmx.net CC: hverbeet(a)gmail.com Tested FEAR 1.08 with the ARB backend and noticed the console filling with: fixme:d3d_draw:drawStridedFast >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glDrawElements @ drawprim.c / 224 Reason seems to be that a multitude of the pixelshaders the game tries to compile are incorrectly translated by wined3d: fixme:d3d_shader:shader_arb_generate_pshader HW PixelShader Error at position 1758: "line 76, column 11: error: invalid operand variable\n" The main problems seems to be the RCP opcode which pops up in company with an Ax (A0. A1, etc.) register. Sadly no such Ax is ever declared in the fragment shader. Example: RCP R0.w, A1.w; As far as I can see it's really only the RCP opcode and nothing else. There a lot pixelshaders that fail compilation but it's always because of something like in the example. CCing the experts (aka Stefan and Henri) -- 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.