i965: Enable ARB_derivative_control on Gen7+.
authorChris Forbes <chrisf@ijw.co.nz>
Thu, 14 Aug 2014 09:11:28 +0000 (21:11 +1200)
committerChris Forbes <chrisf@ijw.co.nz>
Fri, 15 Aug 2014 06:04:06 +0000 (18:04 +1200)
The extension says GL 4.0 is required. We'll meet the spirit
of that restriction by enabling on just those generations which will
soon support GL 4.0 (Gen7+), although it's technically supportable on
all generations.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index e134cd9e4b01f6290a433a903dd872e6266b3d23..c6720447d9eaf3c1078992b5a05876652a6bf376 100644 (file)
@@ -305,6 +305,7 @@ intelInitExtensions(struct gl_context *ctx)
       }
 
       ctx->Extensions.ARB_texture_compression_bptc = true;
+      ctx->Extensions.ARB_derivative_control = true;
    }
 
    if (brw->gen >= 8) {