mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
223c0ecd1e
commit
96a404cf82
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue