[Mesa-dev] [PATCH v3 16/18] i965: enable ASTC support for Skylake

Anuj Phogat anuj.phogat at gmail.com
Tue Jun 30 15:09:51 PDT 2015


On Mon, Jun 22, 2015 at 4:02 PM, Nanley Chery <nanleychery at gmail.com> wrote:
> From: Nanley Chery <nanley.g.chery at intel.com>
>
> v2: remove OES ASTC extension reference.
>
> Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
> ---
>  src/mesa/drivers/dri/i965/intel_extensions.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c b/src/mesa/drivers/dri/i965/intel_extensions.c
> index 365b4b8..cc793e5 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)
> --
> 2.4.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list