i965: Enable ASTC HDR for Broxton
authorNanley Chery <nanley.g.chery@intel.com>
Sat, 22 Apr 2017 00:15:16 +0000 (17:15 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 22 May 2017 18:13:53 +0000 (11:13 -0700)
This platform passes the following GLES3 tests:
ES3-CTS.functional.texture.compressed.astc.endpoint_value_hdr_cem_*

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/drivers/dri/i965/intel_extensions.c

index 2bb21bfb6a14102492fce12bd852bbf376af807e..7921b12c16ab3bf3da9767da7051f0abbc6e44c4 100644 (file)
@@ -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;