[Mesa-dev] [RFC v2 10/15] i965: enable ASTC support for Skylake
Ian Romanick
idr at freedesktop.org
Tue Jun 9 12:03:07 PDT 2015
Should this patch be last? It looks like later patches fix bugs.
On 06/01/2015 10:13 AM, Nanley Chery 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 18b69a0..3c07c8e 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)
>
More information about the mesa-dev
mailing list