i965: Support the allow_glsl_extension_directive_midshader option.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Aug 2014 08:03:15 +0000 (01:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 10 Aug 2014 23:22:31 +0000 (16:22 -0700)
commit31f1cbc24ddc32c2a7b768f9c017f2c7161c7728
tree130342a963b74190873d269bfa269e56232a14dd
parentb6df68ba5611bfd5b797301f32da0b9a33fc5849
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 <kenneth@whitecape.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75664
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_screen.c