[Bug 35207] Rendering issues in Outlast

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 7 09:45:33 CST 2014


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

--- Comment #10 from Stefan Dösinger <stefan at codeweavers.com> ---
Created attachment 47730
  --> http://bugs.winehq.org/attachment.cgi?id=47730
Prevent the GLSL compiler from using local constants for optimizations

I think we're dealing with a driver bug here, specifically a broken
optimization the driver applies based on the immediate values available at
compile time. This hack prevents the driver from doing so by making the
constants uniforms that could in theory be changed after compiling the shader.
It works around the bug for me.

Please give the hack a try. In the meantime I'll try to find out which shader
is affected by this and what the nature of the broken optimization is. (My gut
feeling says it involves a NaN or INF value, just because they're always fun.)

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