summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-02-15 16:26:20 +1300
committerChris Forbes <[email protected]>2014-04-10 18:27:42 +1200
commit2a2f8cd9d2174eba98943ca6014bab126eb979e8 (patch)
treeb3a88e41de53901fd075186bb2b7de8a06b0393d
parentea477817d773b24dbb29b392e3d4bc53f9dd3e90 (diff)
i965: Enable ARB_texture_view on Gen7
V4: Don't enable this for Gen8 yet -- that still needs wired up. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Acked-by: Eric Anholt <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 760b60595d5..892a04801cf 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -303,6 +303,10 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_compute_shader = true;
}
+ if (brw->gen == 7) {
+ ctx->Extensions.ARB_texture_view = true;
+ }
+
if (brw->gen >= 8) {
ctx->Extensions.ARB_stencil_texturing = true;
}