From 2a2f8cd9d2174eba98943ca6014bab126eb979e8 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 15 Feb 2014 16:26:20 +1300 Subject: [PATCH] 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 Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke Acked-by: Eric Anholt --- src/mesa/drivers/dri/i965/intel_extensions.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 760b605..892a048 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; } -- 2.7.4