Mesa (master): drirc: Add "Second Life" quirk ( allow_glsl_extension_directive_midshader).
Kenneth Graunke
kwg at kemper.freedesktop.org
Wed Apr 22 05:19:01 UTC 2015
Module: Mesa
Branch: master
Commit: 00bf7d2e9cd60dbd82d25b459c448e11c545a89a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=00bf7d2e9cd60dbd82d25b459c448e11c545a89a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Apr 10 10:24:33 2015 -0700
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 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>
More information about the mesa-commit
mailing list