projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a97f1d
)
broadcom/vc5: Switch our RGBA4 support to the new gallium format.
author
Eric Anholt
<eric@anholt.net>
Sat, 20 Jan 2018 06:35:20 +0000
(22:35 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sat, 3 Feb 2018 00:27:49 +0000
(16:27 -0800)
Fixes fbo-generatemipmap-formats, fbo-alphatest-formats, etc. tests for
GL_RGBA4, GL_RGB4, GL_RGBA2, etc.
src/gallium/drivers/vc5/v3dx_format_table.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/v3dx_format_table.c
b/src/gallium/drivers/vc5/v3dx_format_table.c
index 6d198a225f071335c3f1472ee1f902b87fa90106..884f7373a173f9b7e1606f48cf3d81cb864bfd6b 100644
(file)
--- a/
src/gallium/drivers/vc5/v3dx_format_table.c
+++ b/
src/gallium/drivers/vc5/v3dx_format_table.c
@@
-70,8
+70,7
@@
static const struct vc5_format format_table[] = {
FORMAT(R10G10B10A2_UNORM, RGB10_A2, RGB10_A2, SWIZ_XYZW, 16, 0),
FORMAT(B10G10R10A2_UINT, RGB10_A2UI, RGB10_A2UI, SWIZ_ZYXW, 16, 0),
- FORMAT(B4G4R4A4_UNORM, ABGR4444, RGBA4, SWIZ_YZWX, 16, 0),
- FORMAT(B4G4R4X4_UNORM, ABGR4444, RGBA4, SWIZ_YZW1, 16, 0),
+ FORMAT(A4B4G4R4_UNORM, ABGR4444, RGBA4, SWIZ_XYZW, 16, 0),
FORMAT(A1B5G5R5_UNORM, ABGR1555, RGB5_A1, SWIZ_XYZW, 16, 0),
FORMAT(X1B5G5R5_UNORM, ABGR1555, RGB5_A1, SWIZ_XYZ1, 16, 0),