From 6fe4822cca42ada57b24992d73f9bfb94031da03 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 13 Aug 2019 10:27:09 -0700 Subject: [PATCH] panfrost: Add R10G10B10A2_SSCALED vertex format Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_format.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_format.c b/src/gallium/drivers/panfrost/pan_format.c index 7c94596ec76..f272e3a3716 100644 --- a/src/gallium/drivers/panfrost/pan_format.c +++ b/src/gallium/drivers/panfrost/pan_format.c @@ -176,6 +176,10 @@ panfrost_find_format(const struct util_format_description *desc) { case PIPE_FORMAT_B10G10R10A2_UINT: return MALI_RGB10_A2UI; + case PIPE_FORMAT_R10G10B10A2_SSCALED: + case PIPE_FORMAT_B10G10R10A2_SSCALED: + return MALI_RGB10_A2I; + case PIPE_FORMAT_Z32_UNORM: case PIPE_FORMAT_Z24X8_UNORM: return MALI_Z32_UNORM; -- 2.30.2