diff options
author | Ilia Mirkin <[email protected]> | 2014-12-02 21:31:33 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-12-06 18:18:37 -0500 |
commit | 3674c76edf56f5d1a1a6c56d8dc408e3da93c5a9 (patch) | |
tree | 058535a38b27a388b1cb6156c74305e330180532 /src/gallium/drivers/freedreno/a3xx | |
parent | fc94b2c2a0600e3e84412d3a01491f2d069119a3 (diff) |
freedreno/a3xx: re-enable rgb10_a2 render targets
There were previously regressions regarding border colors, which the
updated swizzle logic resolves.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_format.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_format.c b/src/gallium/drivers/freedreno/a3xx/fd3_format.c index 9235a53bdca..adfe323dda6 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_format.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_format.c @@ -182,7 +182,9 @@ static struct fd3_format formats[PIPE_FORMAT_COUNT] = { _T(A8R8G8B8_SRGB, 8_8_8_8_UNORM, NONE, ZYXW), _T(X8R8G8B8_SRGB, 8_8_8_8_UNORM, NONE, ZYXW), - V_(R10G10B10A2_UNORM, 10_10_10_2_UNORM, NONE/*R10G10B10A2_UNORM*/, WZYX), + 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_(R10G10B10A2_UINT, 10_10_10_2_UINT, NONE, WZYX), V_(R10G10B10A2_USCALED, 10_10_10_2_UINT, NONE, WZYX), |