From: Alyssa Rosenzweig Date: Tue, 13 Aug 2019 17:27:09 +0000 (-0700) Subject: panfrost: Add R10G10B10A2_SSCALED vertex format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6fe4822cca42ada57b24992d73f9bfb94031da03;p=mesa.git panfrost: Add R10G10B10A2_SSCALED vertex format Signed-off-by: Alyssa Rosenzweig --- 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;