From: Kenneth Graunke Date: Fri, 10 Apr 2015 17:24:33 +0000 (-0700) Subject: drirc: Add "Second Life" quirk (allow_glsl_extension_directive_midshader). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00bf7d2e9cd60dbd82d25b459c448e11c545a89a;p=mesa.git 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 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 --- 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. + + +