summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_extensions.c
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-08-14 21:11:28 +1200
committerChris Forbes <[email protected]>2014-08-15 18:04:06 +1200
commit654b7788ebe7db63a3c5442d4eb1144b9284e9af (patch)
tree7f6b9154f5aa5adfe76adcc9eba67b1d4a26b06b /src/mesa/drivers/dri/i965/intel_extensions.c
parenta39622452069b76f7562472cc15ddefd2db4b503 (diff)
i965: Enable ARB_derivative_control on Gen7+.
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_extensions.c')
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index e134cd9e4b0..c6720447d9e 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -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) {