From 5361ea2a9b5c23db702ee4b81e008c822b62e965 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Sat, 19 Oct 2019 18:48:35 +0200 Subject: [PATCH] etnaviv: fix R10G10B10A2 vertex format entries Reviewed-by: Jonathan Marek Signed-off-by: Christian Gmeiner --- src/gallium/drivers/etnaviv/etnaviv_format.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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), -- 2.30.2