mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
e1ba1b5b25
commit
1c1b0f7c91
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue