drirc: Add "Second Life" quirk (allow_glsl_extension_directive_midshader).
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 10 Apr 2015 17:24:33 +0000 (10:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 22 Apr 2015 05:16:30 +0000 (22:16 -0700)
commit00bf7d2e9cd60dbd82d25b459c448e11c545a89a
treef5af14d5bf740c4a4771feb38c9e6dc23c5877c0
parent44461e70985278464f5c2ce89bda2336c7299b0b
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
src/mesa/drivers/dri/common/drirc