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

Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Feb  6 15:26:43 2023 -0500

zink: make last_vertex_stage the first bit in zink_vs_key_base

Reviewed-by: Emma Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21169>

---

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

diff --git a/src/gallium/drivers/zink/zink_shader_keys.h 
b/src/gallium/drivers/zink/zink_shader_keys.h
index 174c6248657..4024742bef9 100644
--- a/src/gallium/drivers/zink/zink_shader_keys.h
+++ b/src/gallium/drivers/zink/zink_shader_keys.h
@@ -29,9 +29,9 @@
 #include "compiler/shader_info.h"
 
 struct zink_vs_key_base {
+   bool last_vertex_stage : 1;
    bool clip_halfz : 1;
    bool push_drawid : 1;
-   bool last_vertex_stage : 1;
    bool robust_access : 1;
    uint8_t pad : 4;
 };

Reply via email to