freedreno: a3xx: add GL_AMD_compressed_ATC_texture support
authorJonathan Marek <jonathan@marek.ca>
Tue, 5 Feb 2019 16:08:33 +0000 (11:08 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 23 Apr 2019 17:11:56 +0000 (17:11 +0000)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/freedreno/a3xx/fd3_format.c

index f8508977a78c79b89495d4864f342a3b56091d60..0012b81e40754bc2a3ab67e4f03c24b18fe84c25 100644 (file)
@@ -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