From: Nanley Chery Date: Tue, 19 May 2015 19:28:20 +0000 (-0700) Subject: i965: advertise ASTC support for Skylake X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f3a483069a6f0d38c10cec88417ae2b5b5aa3392;p=mesa.git i965: advertise ASTC support for Skylake v2: remove OES ASTC extension reference. Reviewed-by: Anuj Phogat Signed-off-by: Nanley Chery --- 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)