diff options
author | Kenneth Graunke <[email protected]> | 2014-08-08 01:03:15 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-10 16:22:31 -0700 |
commit | 31f1cbc24ddc32c2a7b768f9c017f2c7161c7728 (patch) | |
tree | 130342a963b74190873d269bfa269e56232a14dd /src/mesa/drivers/dri/i965/brw_context.c | |
parent | b6df68ba5611bfd5b797301f32da0b9a33fc5849 (diff) |
i965: Support the allow_glsl_extension_directive_midshader option.
This adds support for Marek's new driconf parameter, which avoids
totally white rendering in Unigine Valley (which attempts to enable
the GL_ARB_sample_shading extension in an illegal place).
Signed-off-by: Kenneth Graunke <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75664
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 52f2557504a..402d936bd70 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -570,6 +570,9 @@ brw_process_driconf_options(struct brw_context *brw) ctx->Const.DisableGLSLLineContinuations = driQueryOptionb(options, "disable_glsl_line_continuations"); + + ctx->Const.AllowGLSLExtensionDirectiveMidShader = + driQueryOptionb(options, "allow_glsl_extension_directive_midshader"); } GLboolean |