etnaviv: Add support for R8_UNORM textures
authorWladimir J. van der Laan <laanwj@gmail.com>
Fri, 28 Jul 2017 14:05:16 +0000 (16:05 +0200)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 6 Aug 2017 18:45:24 +0000 (20:45 +0200)
commit948bb2caba24b08dd6a5cfae39778f48205c6b1b
tree2f38ec6a335b307fec3d6ee8ad4023f234f204b7
parent39056b0e2ac10342d8a3a6000f12a510f5dbd773
etnaviv: Add support for R8_UNORM textures

R8_UNORM textures can be emulated by means of L8 and a swizzle.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_format.c