Module: Mesa Branch: main Commit: 1c1b0f7c91124c350b41cdfc4b3a803a9874db35 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c1b0f7c91124c350b41cdfc4b3a803a9874db35
Author: Mike Blumenkrantz <[email protected]> Date: Fri May 7 09:37:20 2021 -0400 zink: reorder has_barriers flag in batch state struct better struct packing Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11400> --- src/gallium/drivers/zink/zink_batch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_batch.h b/src/gallium/drivers/zink/zink_batch.h index bdfadea7fcb..2d1525c32ef 100644 --- a/src/gallium/drivers/zink/zink_batch.h +++ b/src/gallium/drivers/zink/zink_batch.h @@ -62,7 +62,6 @@ struct zink_batch_state { VkCommandPool cmdpool; VkCommandBuffer cmdbuf; VkCommandBuffer barrier_cmdbuf; - bool has_barriers; VkQueue queue; //duplicated from batch for threading VkSemaphore sem; @@ -89,6 +88,7 @@ struct zink_batch_state { bool is_device_lost; bool have_timelines; + bool has_barriers; }; struct zink_batch { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
