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>
This commit is contained in:
parent
39056b0e2a
commit
948bb2caba
|
@ -90,7 +90,7 @@ struct etna_format {
|
|||
|
||||
static struct etna_format formats[PIPE_FORMAT_COUNT] = {
|
||||
/* 8-bit */
|
||||
V_(R8_UNORM, UNSIGNED_BYTE, NONE),
|
||||
VT(R8_UNORM, UNSIGNED_BYTE, L8, SWIZ(X, 0, 0, 1), NONE),
|
||||
V_(R8_SNORM, BYTE, NONE),
|
||||
V_(R8_UINT, UNSIGNED_BYTE, NONE),
|
||||
V_(R8_SINT, BYTE, NONE),
|
||||
|
|
Loading…
Reference in New Issue