[Mesa-dev] [PATCH 5/5] freedreno/a3xx: add GL_AMD_compressed_ATC_texture support

Ilia Mirkin imirkin at alum.mit.edu
Sun Mar 1 19:08:14 PST 2015


Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
 docs/relnotes/10.6.0.html                       | 1 +
 src/gallium/drivers/freedreno/a3xx/fd3_format.c | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/docs/relnotes/10.6.0.html b/docs/relnotes/10.6.0.html
index d183c07..57fe4d5 100644
--- a/docs/relnotes/10.6.0.html
+++ b/docs/relnotes/10.6.0.html
@@ -44,6 +44,7 @@ Note: some of the new features are only available with certain drivers.
 </p>
 
 <ul>
+<li>GL_AMD_compressed_ATC_texture on freedreno</li>
 <li>GL_AMD_pinned_memory on r600, radeonsi</li>
 <li>GL_ARB_draw_instanced on freedreno</li>
 <li>GL_ARB_gpu_shader_fp64 on nvc0, softpipe</li>
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_format.c b/src/gallium/drivers/freedreno/a3xx/fd3_format.c
index 30b319b..cb243a7 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_format.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_format.c
@@ -268,6 +268,10 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = {
 	_T(DXT3_SRGBA, DXT3, NONE, WZYX),
 	_T(DXT5_RGBA,  DXT5, NONE, WZYX),
 	_T(DXT5_SRGBA, DXT5, 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.0.5



More information about the mesa-dev mailing list