projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d1809a
)
broadcom/vc5: Use the proper gallium format for our RGB10_A2.
author
Eric Anholt
<eric@anholt.net>
Fri, 27 Oct 2017 21:08:02 +0000
(14:08 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 30 Oct 2017 20:31:31 +0000
(13:31 -0700)
This keeps us from needing our own reswizzling of the B vs R fields.
src/gallium/drivers/vc5/vc5_formats.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_formats.c
b/src/gallium/drivers/vc5/vc5_formats.c
index 114f2d741e8fb05b01e221d86705ff24a9fca356..048fc8254f3f751f8e0810e88ccf13806b71c975 100644
(file)
--- 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_ZYX
W, 16, 0),
+ FORMAT(
R10G10B10A2_UNORM, RGB10_A2, RGB10_A2, SWIZ_XYZ
W, 16, 0),
FORMAT(B4G4R4A4_UNORM, ABGR4444, RGBA4, SWIZ_YZWX, 16, 0),
FORMAT(B4G4R4X4_UNORM, ABGR4444, RGBA4, SWIZ_YZW1, 16, 0),