[Mesa-stable] [Mesa-dev] [PATCH] drirc: Add "Second Life" quirk (allow_glsl_extension_directive_midshader).

Matt Turner mattst88 at gmail.com
Fri Apr 10 11:09:01 PDT 2015


On Fri, Apr 10, 2015 at 10:30 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> 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">

This is really the binary name?!

> +            <option name="allow_glsl_extension_directive_midshader" value="true" />
> +        </application>
>      </device>
>  </driconf>
> --
> 2.3.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-stable mailing list