summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2021-09-23 16:07:46 +1000
committerDave Airlie <airlied@redhat.com>2021-09-24 06:44:37 +1000
commit879defa3bee866b002395da9f26ac71690ad1350 (patch)
treecbeca8a49541cab749ae9bd36e3c164f8c96d0ce /src/gallium
parentec2007d47ede79d60dd96bd14df6d8d8766ac6d1 (diff)
gallium/format: move two vertex formats into the proper place.HEADmain
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 <michael.blumenkrantz@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12987>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/include/pipe/p_format.h6
1 files 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,