Module: Mesa Branch: main Commit: 879defa3bee866b002395da9f26ac71690ad1350 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=879defa3bee866b002395da9f26ac71690ad1350
Author: Dave Airlie <[email protected]> Date: Thu Sep 23 16:07:46 2021 +1000 gallium/format: move two vertex formats into the proper place. These two can be vertex formats with vulkan so lavapipe can expose them. Fixes dEQP-VK.pipeline.vertex_input.single_attribute.uvec4.as_a2r10g10b10_uint_pack32_rate_vertex Fixes: e002f5a086c7 ("gallium: change pipe_vertex_element::src_format to uint8_t") Reviewed-By: Mike Blumenkrantz <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12987> --- src/gallium/include/pipe/p_format.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index 308cd8f3732..1f300a018da 100644 --- a/src/gallium/include/pipe/p_format.h +++ b/src/gallium/include/pipe/p_format.h @@ -155,6 +155,10 @@ enum pipe_format { PIPE_FORMAT_B10G10R10A2_SSCALED, PIPE_FORMAT_R11G11B10_FLOAT, + + PIPE_FORMAT_B10G10R10A2_UINT, + PIPE_FORMAT_B10G10R10A2_SINT, + /* End of vertex formats. */ /* Texture-only formats are below. */ @@ -339,8 +343,6 @@ enum pipe_format { PIPE_FORMAT_A8B8G8R8_UINT, PIPE_FORMAT_A2R10G10B10_UINT, PIPE_FORMAT_A2B10G10R10_UINT, - PIPE_FORMAT_B10G10R10A2_UINT, - PIPE_FORMAT_B10G10R10A2_SINT, PIPE_FORMAT_R5G6B5_UINT, PIPE_FORMAT_B5G6R5_UINT, PIPE_FORMAT_R5G5B5A1_UINT,
