summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2017-04-21 17:15:16 -0700
committerNanley Chery <[email protected]>2017-05-22 11:13:53 -0700
commitd6150bd764eb644091d904d1c608640b3e3cd514 (patch)
treebaf73d07a2c5f152fa340de6befe4c51083b7953
parent52a6fd98713b8a4d438567684067beada618ed0e (diff)
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 <[email protected]> Signed-off-by: Nanley Chery <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c3
1 files changed, 3 insertions, 0 deletions
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;