Mesa (main): zink: reorder pipeline dynamic state1 substruct

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 3 01:38:19 UTC 2022


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

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue May 31 15:11:55 2022 -0400

zink: reorder pipeline dynamic state1 substruct

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

---

 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 4964464cf77..18b913d474c 100644
--- a/src/gallium/drivers/zink/zink_pipeline.h
+++ b/src/gallium/drivers/zink/zink_pipeline.h
@@ -55,9 +55,9 @@ struct zink_gfx_pipeline_state {
    bool dirty;
 
    struct {
-      struct zink_depth_stencil_alpha_hw_state *depth_stencil_alpha_state; //non-dynamic state
       VkFrontFace front_face;
       unsigned num_viewports;
+      struct zink_depth_stencil_alpha_hw_state *depth_stencil_alpha_state; //non-dynamic state
    } dyn_state1;
 
    struct {



More information about the mesa-commit mailing list