diff options
author | Jonathan Marek <[email protected]> | 2019-02-05 11:10:46 -0500 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-04-23 17:11:56 +0000 |
commit | 0e696416f910a1ca5469e9c9e26597d7d7573006 (patch) | |
tree | 84904828fe7355b7a092e818aa335d90c69a4aac /src/gallium/drivers/freedreno | |
parent | 734409096bdac31d0ee57efea0e274d558b62940 (diff) |
freedreno: a2xx: add GL_AMD_compressed_ATC_texture support
Signed-off-by: Jonathan Marek <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_util.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_util.c b/src/gallium/drivers/freedreno/a2xx/fd2_util.c index 0436fcf9eeb..5957a6a4df5 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_util.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_util.c @@ -191,6 +191,12 @@ fd2_pipe2surface(enum pipe_format format) return FMT_DXT2_3; case PIPE_FORMAT_DXT5_RGBA: return FMT_DXT4_5; + case PIPE_FORMAT_ATC_RGB: + return FMT_ATI_TC_555_565_RGB; + case PIPE_FORMAT_ATC_RGBA_EXPLICIT: + return FMT_ATI_TC_555_565_RGBA; + case PIPE_FORMAT_ATC_RGBA_INTERPOLATED: + return FMT_ATI_TC_555_565_RGBA_INTERP; /* YUV buffers. */ case PIPE_FORMAT_UYVY: |