From b3ff83c10751b40292f71a6d3b41d41c820e9fcb Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 4 Jan 2020 13:27:20 -0500 Subject: [PATCH] panfrost: Handle PIPE_FORMAT_R10G10B10A2_USCALED Same format code as UINT... might be different in how it's fed into a shader but we'll deal with that when we get there. Fixes dEQP-GLES3.functional.vertex_arrays.single_attribute.output_types.usigned_int2_10_10_10.components4_vec2_quads1 Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Vizoso --- src/gallium/drivers/panfrost/pan_format.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_format.c b/src/gallium/drivers/panfrost/pan_format.c index 16bc5edc6c9..9b0440eae37 100644 --- a/src/gallium/drivers/panfrost/pan_format.c +++ b/src/gallium/drivers/panfrost/pan_format.c @@ -174,6 +174,8 @@ panfrost_find_format(const struct util_format_description *desc) { case PIPE_FORMAT_R10G10B10A2_UINT: case PIPE_FORMAT_B10G10R10A2_UINT: + case PIPE_FORMAT_R10G10B10A2_USCALED: + case PIPE_FORMAT_B10G10R10A2_USCALED: return MALI_RGB10_A2UI; case PIPE_FORMAT_R10G10B10A2_SSCALED: -- 2.30.2