Mesa (main): zink: make prim type a bitfield in pipeline info

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jul 2 01:36:52 UTC 2021


Module: Mesa
Branch: main
Commit: 48adc08b2da328950fe439b16f0cc16951bc6567
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48adc08b2da328950fe439b16f0cc16951bc6567

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue May 11 13:51:47 2021 -0400

zink: make prim type a bitfield in pipeline info

match draw info here

Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11685>

---

 src/gallium/drivers/zink/zink_pipeline.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/zink/zink_pipeline.h b/src/gallium/drivers/zink/zink_pipeline.h
index 22023a2ae08..2a171a2163e 100644
--- a/src/gallium/drivers/zink/zink_pipeline.h
+++ b/src/gallium/drivers/zink/zink_pipeline.h
@@ -79,7 +79,7 @@ struct zink_gfx_pipeline_state {
    bool have_EXT_extended_dynamic_state;
 
    VkPipeline pipeline;
-   enum pipe_prim_type mode;
+   enum pipe_prim_type mode : 8;
 };
 
 struct zink_compute_pipeline_state {



More information about the mesa-commit mailing list