From: Eric Anholt Date: Fri, 13 Oct 2017 20:13:36 +0000 (-0700) Subject: broadcom/vc5: Don't forget to set the RT format for 1555 textures. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d623a34ab2f69bd18b8a6aaac1b4e4f6f5dcdc32;p=mesa.git broadcom/vc5: Don't forget to set the RT format for 1555 textures. Fixes dEQP-GLES3.functional.fbo.completeness.renderable.texture.color0.rgb5_a1 --- 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),