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:
committed by
Marge Bot
parent
5543272ceb
commit
c387699c7b
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user