aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-13 13:13:36 -0700
committerEric Anholt <[email protected]>2017-10-17 12:35:16 -0700
commitd623a34ab2f69bd18b8a6aaac1b4e4f6f5dcdc32 (patch)
tree331976be1f06cc97ed9f6e19c533268be0818681
parentb5dc551014f45daba07339f884e89f87c1be923e (diff)
broadcom/vc5: Don't forget to set the RT format for 1555 textures.
Fixes dEQP-GLES3.functional.fbo.completeness.renderable.texture.color0.rgb5_a1
-rw-r--r--src/gallium/drivers/vc5/vc5_formats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/vc5/vc5_formats.c b/src/gallium/drivers/vc5/vc5_formats.c
index 5d807b1a4d4..114f2d741e8 100644
--- a/src/gallium/drivers/vc5/vc5_formats.c
+++ b/src/gallium/drivers/vc5/vc5_formats.c
@@ -111,8 +111,8 @@ static const struct vc5_format vc5_format_table[] = {
FORMAT(B4G4R4A4_UNORM, ABGR4444, RGBA4, SWIZ_YZWX, 16, 0),
FORMAT(B4G4R4X4_UNORM, ABGR4444, RGBA4, SWIZ_YZW1, 16, 0),
- FORMAT(A1B5G5R5_UNORM, NO, RGB5_A1, SWIZ_XYZW, 16, 0),
- FORMAT(X1B5G5R5_UNORM, NO, RGB5_A1, SWIZ_XYZ1, 16, 0),
+ FORMAT(A1B5G5R5_UNORM, ABGR1555, RGB5_A1, SWIZ_XYZW, 16, 0),
+ FORMAT(X1B5G5R5_UNORM, ABGR1555, RGB5_A1, SWIZ_XYZ1, 16, 0),
FORMAT(B5G6R5_UNORM, BGR565, RGB565, SWIZ_XYZ1, 16, 0),
FORMAT(R8_UNORM, R8, R8, SWIZ_X001, 16, 0),