i965: Enable MESA_shader_integer_mix.
authorMatt Turner <mattst88@gmail.com>
Sat, 7 Sep 2013 00:53:39 +0000 (17:53 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 9 Sep 2013 22:01:08 +0000 (15:01 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index 32f7b5c72860cbfd7ab93371f09367de4ebfde80..8cb3f1b68d64ab0f47dfe4d6e73a7e7ea4652210 100644 (file)
@@ -157,6 +157,7 @@ intelInitExtensions(struct gl_context *ctx)
    if (brw->gen >= 5) {
       ctx->Extensions.ARB_texture_query_lod = true;
       ctx->Extensions.EXT_timer_query = true;
+      ctx->Extensions.MESA_shader_integer_mix = ctx->Const.GLSLVersion >= 130;
    }
 
    if (ctx->API == API_OPENGL_CORE)