zink: reorder has_barriers flag in batch state struct
better struct packing Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11400>
This commit is contained in:
committed by
Marge Bot
parent
e1ba1b5b25
commit
1c1b0f7c91
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user