From: Chris Forbes Date: Sat, 15 Feb 2014 03:26:20 +0000 (+1300) Subject: i965: Enable ARB_texture_view on Gen7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a2f8cd9d2174eba98943ca6014bab126eb979e8;p=mesa.git 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 --- 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; }