i965: Enable ARB_conditional_render_inverted on Gen6+.
authorChris Forbes <chrisf@ijw.co.nz>
Tue, 19 Aug 2014 11:30:50 +0000 (23:30 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Tue, 19 Aug 2014 19:49:17 +0000 (07:49 +1200)
The extension requires GL 3.0, so enable on just the generations
exposing that.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/drivers/dri/i965/intel_extensions.c

index 1d18c83a73b167b9199ccb27f6a6ec7579ae239d..046d2a1b9a5abf5437ff32f0f1fbc05e9cac79a7 100644 (file)
@@ -272,6 +272,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.ARB_texture_multisample = true;
       ctx->Extensions.ARB_sample_shading = true;
       ctx->Extensions.ARB_texture_gather = true;
+      ctx->Extensions.ARB_conditional_render_inverted = true;
 
       /* Test if the kernel has the ioctl. */
       if (drm_intel_reg_read(brw->bufmgr, TIMESTAMP, &dummy) == 0)