[Mesa-stable] [PATCH] drirc: Add "Second Life" quirk (allow_glsl_extension_directive_midshader).

Kenneth Graunke kenneth at whitecape.org
Fri Apr 10 10:30:20 PDT 2015


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 at 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 at lists.freedesktop.org
---
 src/mesa/drivers/dri/common/drirc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index cecd6a9..145e707 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -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>
-- 
2.3.5



More information about the mesa-stable mailing list