summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-09-13 17:07:36 -0700
committerKenneth Graunke <[email protected]>2016-09-14 12:16:25 -0700
commit8c9dddadad31028d5389e227b386d6814e2c897a (patch)
tree0d9650ffaca0f45d83e2e9ddf9e6a8635d3bfd4d
parent2d8a3fa7ea994ad02a40ff497109f966e3fcbeec (diff)
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 <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c1
1 files changed, 1 insertions, 0 deletions
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;
}