From: Eric Anholt Date: Tue, 27 Mar 2018 21:26:17 +0000 (-0700) Subject: broadcom/vc5: Fix RG16I/UI texture sampling. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f1b4f620464f76c82bcf4b36514f895c59f5c17;p=mesa.git broadcom/vc5: Fix RG16I/UI texture sampling. How many times did I look at this table without noticing the missing 'G' in the texture column? Fixes KHR-GLES3.copy_tex_image_conversions.required.* on 7268. --- diff --git a/src/gallium/drivers/vc5/v3dx_format_table.c b/src/gallium/drivers/vc5/v3dx_format_table.c index 4aaf0ecd3d4..cc356fc3811 100644 --- a/src/gallium/drivers/vc5/v3dx_format_table.c +++ b/src/gallium/drivers/vc5/v3dx_format_table.c @@ -120,8 +120,8 @@ static const struct vc5_format format_table[] = { FORMAT(R16_SINT, R16I, R16I, SWIZ_X001, 16, 0), FORMAT(R16_UINT, R16UI, R16UI, SWIZ_X001, 16, 0), - FORMAT(R16G16_SINT, RG16I, R16I, SWIZ_XY01, 16, 0), - FORMAT(R16G16_UINT, RG16UI, R16UI, SWIZ_XY01, 16, 0), + FORMAT(R16G16_SINT, RG16I, RG16I, SWIZ_XY01, 16, 0), + FORMAT(R16G16_UINT, RG16UI, RG16UI, SWIZ_XY01, 16, 0), FORMAT(R16G16B16A16_SINT, RGBA16I, RGBA16I, SWIZ_XYZW, 16, 0), FORMAT(R16G16B16A16_UINT, RGBA16UI, RGBA16UI, SWIZ_XYZW, 16, 0),