summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-04-10 10:24:33 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2015-04-22 16:14:51 +0100
commit597d85c6b761028e00d9a75405afcba7612f9d58 (patch)
tree7ef635bfedd4a7c4e47f2d6c4b793da934e0d114
parentef0e335c1422b8a394073d89a781ed5847da0eb1 (diff)
downloadmesa-597d85c6b761028e00d9a75405afcba7612f9d58.tar.gz
drirc: Add "Second Life" quirk (allow_glsl_extension_directive_midshader).
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 (cherry picked from commit 00bf7d2e9cd60dbd82d25b459c448e11c545a89a)
-rw-r--r--src/mesa/drivers/dri/common/drirc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
index cecd6a953cc..145e707a64c 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>