mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
vulkan/cmd_queue: Add VK_CMD_TYPE_COUNT
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31426>
This commit is contained in:
parent
5543272ceb
commit
c387699c7b
1 changed files with 3 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ enum vk_cmd_type {
|
|||
#endif // ${c.guard}
|
||||
% endif
|
||||
% endfor
|
||||
VK_CMD_TYPE_COUNT,
|
||||
};
|
||||
|
||||
extern const char *vk_cmd_queue_type_names[];
|
||||
|
|
@ -344,6 +345,8 @@ vk_free_queue(struct vk_cmd_queue *queue)
|
|||
#endif // ${c.guard}
|
||||
% endif
|
||||
% endfor
|
||||
case VK_CMD_TYPE_COUNT:
|
||||
break;
|
||||
}
|
||||
vk_free(queue->alloc, cmd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue