i965: Enable ANDROID_extension_pack_es31a on Gen9+.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 14 Sep 2016 00:07:36 +0000 (17:07 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 14 Sep 2016 19:16:25 +0000 (12:16 -0700)
AEP requires ASTC, which is currently only enabled on Skylake and later.
(It may be possible to extend this to Cherryview/Braswell in the future,
but earlier hardware doesn't have ASTC support.)

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/drivers/dri/i965/intel_extensions.c

index 0f28546..6bb73b8 100644 (file)
@@ -409,6 +409,7 @@ intelInitExtensions(struct gl_context *ctx)
       ctx->Extensions.KHR_texture_compression_astc_ldr = true;
       ctx->Extensions.KHR_texture_compression_astc_sliced_3d = true;
       ctx->Extensions.ARB_shader_stencil_export = true;
+      ctx->Extensions.ANDROID_extension_pack_es31a = true;
       ctx->Extensions.MESA_shader_framebuffer_fetch = true;
    }