From: Ilia Mirkin Date: Fri, 7 Jul 2017 04:33:50 +0000 (-0400) Subject: a5xx: add support for rendering to RGB10A2_UNORM formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c03612264635c701acffb1ce78f35c583ba0e2d3;p=mesa.git a5xx: add support for rendering to RGB10A2_UNORM formats Signed-off-by: Ilia Mirkin --- 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),