freedreno/a4xx: add render-target formats
authorRob Clark <robclark@freedesktop.org>
Mon, 25 Apr 2016 19:38:18 +0000 (15:38 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 25 Apr 2016 20:16:21 +0000 (16:16 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a4xx/fd4_format.c

index bd7e285f39d341e1d0a98e0e6c90cbed39e245fa..fa5efc00a9eb3171feaa111e29719105471b8ba2 100644 (file)
@@ -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),