summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/drirc
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-04-10 10:24:33 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-04-21 22:16:30 -0700
commit00bf7d2e9cd60dbd82d25b459c448e11c545a89a (patch)
treef5af14d5bf740c4a4771feb38c9e6dc23c5877c0 /src/mesa/drivers/dri/common/drirc
parent44461e70985278464f5c2ce89bda2336c7299b0b (diff)
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
Diffstat (limited to 'src/mesa/drivers/dri/common/drirc')
-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>