vulkan: reorder vk_cmd_queue_entry

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23322>
This commit is contained in:
Mike Blumenkrantz 2023-05-30 10:51:25 -04:00 committed by Marge Bot
parent 223c0ecd1e
commit 96a404cf82

View file

@ -118,6 +118,9 @@ struct ${to_struct_name(c.name)} {
struct vk_cmd_queue_entry {
struct list_head cmd_link;
enum vk_cmd_type type;
void *driver_data;
void (*driver_free_cb)(struct vk_cmd_queue *queue,
struct vk_cmd_queue_entry *cmd);
union {
% for c in commands:
% if len(c.params) <= 1:
@ -132,9 +135,6 @@ struct vk_cmd_queue_entry {
% endif
% endfor
} u;
void *driver_data;
void (*driver_free_cb)(struct vk_cmd_queue *queue,
struct vk_cmd_queue_entry *cmd);
};
% for c in commands: