drirc: Add "Second Life" quirk (allow_glsl_extension_directive_midshader).
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Apr 2015 17:24:33 +0000 (10:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 22 Apr 2015 05:16:30 +0000 (22:16 -0700)
Appears to fix shader compilation.  Tested by starting the client,
dragging the "quality and speed" slider back and forth, and watching the
console output - instead of piles of "shader failed to compile", the CPU
seems to be busy compiling shaders.  I haven't actually tried to play.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69226
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71591
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/common/drirc

index cecd6a953cc9bbd2c86ce87b4286a21362c428bf..145e707a64c17f30be11032e10cadbaa3e2ea8ab 100644 (file)
@@ -91,5 +91,9 @@ TODO: document the other workarounds.
         <application name="Dead Island" executable="DeadIslandGame">
             <option name="allow_glsl_extension_directive_midshader" value="true" />
         </application>
+
+        <application name="Second Life" executable="do-not-directly-run-secondlife-bin">
+            <option name="allow_glsl_extension_directive_midshader" value="true" />
+        </application>
     </device>
 </driconf>