i965: enable OES_texture_view for gen8+
authorTapani Pälli <tapani.palli@intel.com>
Wed, 9 May 2018 06:12:33 +0000 (09:12 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 24 May 2018 09:53:07 +0000 (12:53 +0300)
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_extensions.c

index b5860f13cb48881d11656bac76487aa28fa684c3..192971f32c834c7fbeb520d480bbe511f81d17bf 100644 (file)
@@ -281,9 +281,10 @@ intelInitExtensions(struct gl_context *ctx)
    if (devinfo->gen >= 8 || devinfo->is_baytrail) {
       /* For now, we only enable OES_copy_image on platforms that support
        * ETC2 natively in hardware.  We would need more hacks to support it
-       * elsewhere.
+       * elsewhere. Same with OES_texture_view.
        */
       ctx->Extensions.OES_copy_image = true;
+      ctx->Extensions.OES_texture_view = true;
    }
 
    if (devinfo->gen >= 8) {