From: Kenneth Graunke Date: Wed, 14 Sep 2016 00:07:36 +0000 (-0700) Subject: i965: Enable ANDROID_extension_pack_es31a on Gen9+. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c9dddadad31028d5389e227b386d6814e2c897a;p=mesa.git i965: Enable ANDROID_extension_pack_es31a on Gen9+. 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 Reviewed-by: Ilia Mirkin --- diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 0f28546cfff..6bb73b8ebdf 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -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; }