From: Christian Gmeiner Date: Sat, 19 Oct 2019 16:48:35 +0000 (+0200) Subject: etnaviv: fix R10G10B10A2 vertex format entries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5361ea2a9b5c23db702ee4b81e008c822b62e965;p=mesa.git etnaviv: fix R10G10B10A2 vertex format entries Reviewed-by: Jonathan Marek Signed-off-by: Christian Gmeiner --- diff --git a/src/gallium/drivers/etnaviv/etnaviv_format.c b/src/gallium/drivers/etnaviv/etnaviv_format.c index 4cfa4053fc6..3b91022436b 100644 --- a/src/gallium/drivers/etnaviv/etnaviv_format.c +++ b/src/gallium/drivers/etnaviv/etnaviv_format.c @@ -171,10 +171,10 @@ static struct etna_format formats[PIPE_FORMAT_COUNT] = { _T(B8G8R8A8_SRGB, A8R8G8B8, SWIZ(X, Y, Z, W), A8R8G8B8), _T(B8G8R8X8_SRGB, X8R8G8B8, SWIZ(X, Y, Z, W), X8R8G8B8), - V_(R10G10B10A2_UNORM, UNSIGNED_INT_10_10_10_2, NONE), - V_(R10G10B10A2_SNORM, INT_10_10_10_2, NONE), - V_(R10G10B10A2_USCALED, UNSIGNED_INT_10_10_10_2, NONE), - V_(R10G10B10A2_SSCALED, INT_10_10_10_2, NONE), + V_(R10G10B10A2_UNORM, UNSIGNED_INT_2_10_10_10_REV, NONE), + V_(R10G10B10A2_SNORM, INT_2_10_10_10_REV, NONE), + V_(R10G10B10A2_USCALED, UNSIGNED_INT_2_10_10_10_REV, NONE), + V_(R10G10B10A2_SSCALED, INT_2_10_10_10_REV, NONE), _T(X8Z24_UNORM, D24X8, SWIZ(X, Y, Z, W), NONE), _T(S8_UINT_Z24_UNORM, D24X8, SWIZ(X, Y, Z, W), NONE),