From 734409096bdac31d0ee57efea0e274d558b62940 Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Tue, 5 Feb 2019 11:08:33 -0500 Subject: [PATCH] freedreno: a3xx: add GL_AMD_compressed_ATC_texture support Signed-off-by: Ilia Mirkin Signed-off-by: Jonathan Marek Reviewed-by: Roland Scheidegger --- src/gallium/drivers/freedreno/a3xx/fd3_format.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_format.c b/src/gallium/drivers/freedreno/a3xx/fd3_format.c index f8508977a78..0012b81e407 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_format.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_format.c @@ -285,6 +285,10 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = { _T(LATC1_SNORM, 8_8_8_8_SNORM, NONE, WZYX), _T(LATC2_UNORM, 8_8_8_8_UNORM, NONE, WZYX), _T(LATC2_SNORM, 8_8_8_8_SNORM, NONE, WZYX), + + _T(ATC_RGB, ATC_RGB, NONE, WZYX), + _T(ATC_RGBA_EXPLICIT, ATC_RGBA_EXPLICIT, NONE, WZYX), + _T(ATC_RGBA_INTERPOLATED, ATC_RGBA_INTERPOLATED, NONE, WZYX), }; enum a3xx_vtx_fmt -- 2.30.2