summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2015-05-19 12:28:20 -0700
committerNanley Chery <[email protected]>2015-08-31 17:29:36 -0700
commitf3a483069a6f0d38c10cec88417ae2b5b5aa3392 (patch)
treefe69ea4d2b9a76c6d05f3332c3d68b048263899f /src
parentbe7f640257e832a5161645f3dfcbd9acace6931e (diff)
i965: advertise ASTC support for Skylake
v2: remove OES ASTC extension reference. Reviewed-by: Anuj Phogat <[email protected]> Signed-off-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/intel_extensions.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
index 4365b719801..3c764be07fb 100644
--- a/src/mesa/drivers/dri/i965/intel_extensions.c
+++ b/src/mesa/drivers/dri/i965/intel_extensions.c
@@ -354,6 +354,11 @@ intelInitExtensions(struct gl_context *ctx)
ctx->Extensions.ARB_stencil_texturing = true;
}
+ if (brw->gen >= 9) {
+ ctx->Extensions.KHR_texture_compression_astc_ldr = true;
+ ctx->Extensions.KHR_texture_compression_astc_hdr = true;
+ }
+
if (ctx->API == API_OPENGL_CORE)
ctx->Extensions.ARB_base_instance = true;
if (ctx->API != API_OPENGL_CORE)