From: Jonathan Marek Date: Tue, 5 Feb 2019 16:08:33 +0000 (-0500) Subject: freedreno: a3xx: add GL_AMD_compressed_ATC_texture support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=734409096bdac31d0ee57efea0e274d558b62940;p=mesa.git freedreno: a3xx: add GL_AMD_compressed_ATC_texture support Signed-off-by: Ilia Mirkin Signed-off-by: Jonathan Marek Reviewed-by: Roland Scheidegger --- 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