From d6150bd764eb644091d904d1c608640b3e3cd514 Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Fri, 21 Apr 2017 17:15:16 -0700 Subject: [PATCH] i965: Enable ASTC HDR for Broxton This platform passes the following GLES3 tests: ES3-CTS.functional.texture.compressed.astc.endpoint_value_hdr_cem_* Reviewed-by: Anuj Phogat Signed-off-by: Nanley Chery --- src/mesa/drivers/dri/i965/intel_extensions.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c index 2bb21bfb6a1..7921b12c16a 100644 --- a/src/mesa/drivers/dri/i965/intel_extensions.c +++ b/src/mesa/drivers/dri/i965/intel_extensions.c @@ -284,6 +284,9 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_post_depth_coverage = true; } + if (brw->is_broxton) + ctx->Extensions.KHR_texture_compression_astc_hdr = true; + if (brw->gen >= 6) ctx->Extensions.INTEL_performance_query = true; -- 2.30.2