st/nine: Add ATI1 and ATI2 support
authorAxel Davy <axel.davy@ens.fr>
Sun, 7 Dec 2014 17:11:40 +0000 (18:11 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 22 Jan 2015 22:16:19 +0000 (22:16 +0000)
commit77f0ecf9cead20ee6f61149f66663258cebd6179
treeb87d10f97b2e0c662581f7a3de4db3bb6b289bc9
parentb0b5430322406a521b8a75468452ac5d4ce86750
st/nine: Add ATI1 and ATI2 support

Adds ATI1 and ATI2 support to nine.

They map to PIPE_FORMAT_RGTC1_UNORM and PIPE_FORMAT_RGTC2_UNORM,
but need special handling.

Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Xavier Bouchoux <xavierb@gmail.com>
Cc: "10.4" <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/nine/adapter9.c
src/gallium/state_trackers/nine/basetexture9.c
src/gallium/state_trackers/nine/cubetexture9.c
src/gallium/state_trackers/nine/nine_pipe.h
src/gallium/state_trackers/nine/surface9.c
src/gallium/state_trackers/nine/volumetexture9.c