diff options
author | Eric Anholt <[email protected]> | 2017-10-27 14:08:02 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-30 13:31:31 -0700 |
commit | 9e5df1897c8782a7d1bfbc11fa4bef47177db404 (patch) | |
tree | 0e18335a6d1d49583ffa1ef4c205ccd3544fb95c /src/gallium/drivers/vc5/vc5_formats.c | |
parent | 6d1809a6d6ecbefa7b1ab2e28607adc9b85e8974 (diff) |
broadcom/vc5: Use the proper gallium format for our RGB10_A2.
This keeps us from needing our own reswizzling of the B vs R fields.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_formats.c')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_formats.c b/src/gallium/drivers/vc5/vc5_formats.c index 114f2d741e8..048fc8254f3 100644 --- a/src/gallium/drivers/vc5/vc5_formats.c +++ b/src/gallium/drivers/vc5/vc5_formats.c @@ -106,7 +106,7 @@ static const struct vc5_format vc5_format_table[] = { FORMAT(R8G8B8X8_UNORM, RGBX8, RGBA8, SWIZ_XYZ1, 16, 0), FORMAT(R8G8B8A8_SNORM, NO, RGBA8_SNORM, SWIZ_XYZW, 16, 0), FORMAT(R8G8B8X8_SNORM, NO, RGBA8_SNORM, SWIZ_XYZ1, 16, 0), - FORMAT(B10G10R10A2_UNORM, RGB10_A2, RGB10_A2, SWIZ_ZYXW, 16, 0), + FORMAT(R10G10B10A2_UNORM, RGB10_A2, RGB10_A2, SWIZ_XYZW, 16, 0), FORMAT(B4G4R4A4_UNORM, ABGR4444, RGBA4, SWIZ_YZWX, 16, 0), FORMAT(B4G4R4X4_UNORM, ABGR4444, RGBA4, SWIZ_YZW1, 16, 0), |