diff options
author | Eric Anholt <[email protected]> | 2018-03-27 14:26:17 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-03-27 15:49:58 -0700 |
commit | 9f1b4f620464f76c82bcf4b36514f895c59f5c17 (patch) | |
tree | 86c1634efaa41b03287de296cb951df9d8bc908f /src/gallium/drivers | |
parent | 16581904b0b325c8b6d9abe81462c33e6b99a644 (diff) |
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.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/vc5/v3dx_format_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
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), |