From: Rob Clark Date: Mon, 25 Apr 2016 19:38:18 +0000 (-0400) Subject: freedreno/a4xx: add render-target formats X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=76c6cdd36ae2633688ffa292c1d5cdc38a8f2733 freedreno/a4xx: add render-target formats Signed-off-by: Rob Clark --- diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_format.c b/src/gallium/drivers/freedreno/a4xx/fd4_format.c index bd7e285f39d..fa5efc00a9e 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_format.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_format.c @@ -79,9 +79,9 @@ struct fd4_format { static struct fd4_format formats[PIPE_FORMAT_COUNT] = { /* 8-bit */ VT(R8_UNORM, 8_UNORM, R8_UNORM, WZYX), - VT(R8_SNORM, 8_SNORM, NONE, WZYX), - VT(R8_UINT, 8_UINT, NONE, WZYX), - VT(R8_SINT, 8_SINT, NONE, WZYX), + VT(R8_SNORM, 8_SNORM, R8_SNORM, WZYX), + VT(R8_UINT, 8_UINT, R8_UINT, WZYX), + VT(R8_SINT, 8_SINT, R8_SINT, WZYX), V_(R8_USCALED, 8_UINT, NONE, WZYX), V_(R8_SSCALED, 8_UINT, NONE, WZYX),