Mesa (master): freedreno: a3xx: add GL_AMD_compressed_ATC_texture support

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 23 17:12:12 UTC 2019


Module: Mesa
Branch: master
Commit: 734409096bdac31d0ee57efea0e274d558b62940
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=734409096bdac31d0ee57efea0e274d558b62940

Author: Jonathan Marek <jonathan at marek.ca>
Date:   Tue Feb  5 11:08:33 2019 -0500

freedreno: a3xx: add GL_AMD_compressed_ATC_texture support

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Jonathan Marek <jonathan at marek.ca>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>

---

 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




More information about the mesa-commit mailing list