summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a5xx
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2017-07-07 00:33:50 -0400
committerIlia Mirkin <[email protected]>2017-07-07 09:09:48 -0400
commitc03612264635c701acffb1ce78f35c583ba0e2d3 (patch)
tree3656608303c98fc0e0ca9e59f34941f5ab73bb71 /src/gallium/drivers/freedreno/a5xx
parenta00727ab25958a2fbb3c84c28db9647ab5dd1e8d (diff)
a5xx: add support for rendering to RGB10A2_UNORM formats
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a5xx')
-rw-r--r--src/gallium/drivers/freedreno/a5xx/fd5_format.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/a5xx/fd5_format.c b/src/gallium/drivers/freedreno/a5xx/fd5_format.c
index 0c72ec0d13c..ae5cc839fdc 100644
--- a/src/gallium/drivers/freedreno/a5xx/fd5_format.c
+++ b/src/gallium/drivers/freedreno/a5xx/fd5_format.c
@@ -194,9 +194,9 @@ static struct fd5_format formats[PIPE_FORMAT_COUNT] = {
_T(A8R8G8B8_SRGB, 8_8_8_8_UNORM, R8G8B8A8_UNORM, ZYXW),
_T(X8R8G8B8_SRGB, 8_8_8_8_UNORM, R8G8B8A8_UNORM, ZYXW),
- VT(R10G10B10A2_UNORM, 10_10_10_2_UNORM, NONE, WZYX),
- VT(B10G10R10A2_UNORM, 10_10_10_2_UNORM, NONE, WXYZ),
- _T(B10G10R10X2_UNORM, 10_10_10_2_UNORM, NONE, WXYZ),
+ VT(R10G10B10A2_UNORM, 10_10_10_2_UNORM, R10G10B10A2_UNORM, WZYX),
+ VT(B10G10R10A2_UNORM, 10_10_10_2_UNORM, R10G10B10A2_UNORM, WXYZ),
+ _T(B10G10R10X2_UNORM, 10_10_10_2_UNORM, R10G10B10A2_UNORM, WXYZ),
V_(R10G10B10A2_SNORM, 10_10_10_2_SNORM, NONE, WZYX),
V_(B10G10R10A2_SNORM, 10_10_10_2_SNORM, NONE, WXYZ),
VT(R10G10B10A2_UINT, 10_10_10_2_UINT, R10G10B10A2_UINT, WZYX),