summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2017-05-02 22:06:53 +0200
committerEmil Velikov <emil.l.velikov@gmail.com>2017-05-05 19:35:08 +0100
commitcaa6baa688fe0c73c72842835db106dd62a2b716 (patch)
treeb44f234fc8408752dad2ae000c1511068555f846
parent56922e8f33890f6f24d04f3803eff846d7f23c02 (diff)
downloadmesa-caa6baa688fe0c73c72842835db106dd62a2b716.tar.gz
mesa-caa6baa688fe0c73c72842835db106dd62a2b716.tar.bz2
mesa-caa6baa688fe0c73c72842835db106dd62a2b716.zip
etnaviv: add L8A8_UNORM texture format
No piglit regressions. CC: <mesa-stable@lists.freedesktop.org> Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> (cherry picked from commit a8007ed6872ce1e2cce7145585a4dd1cfd1cec62)
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_format.c b/src/gallium/drivers/etnaviv/etnaviv_format.c
index 0794603b2f5..7c243861c0d 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_format.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_format.c
@@ -103,6 +103,8 @@ static struct etna_format formats[PIPE_FORMAT_COUNT] = {
_T(B4G4R4A4_UNORM, A4R4G4B4, A4R4G4B4),
_T(B4G4R4X4_UNORM, X4R4G4B4, X4R4G4B4),
+ _T(L8A8_UNORM, A8L8, NONE),
+
_T(Z16_UNORM, D16, A4R4G4B4),
_T(B5G6R5_UNORM, R5G6B5, R5G6B5),
_T(B5G5R5A1_UNORM, A1R5G5B5, A1R5G5B5),