vulkan/cmd_queue: Constify vk_cmd_queue.alloc

The implementation shouldn't modify the allocator.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15311>
This commit is contained in:
Boris Brezillon
2022-02-02 14:00:33 +01:00
committed by Marge Bot
parent a3d096f4ba
commit dd0f6cb45b
+1 -1
View File
@@ -59,7 +59,7 @@ extern "C" {
#endif
struct vk_cmd_queue {
VkAllocationCallbacks *alloc;
const VkAllocationCallbacks *alloc;
struct list_head cmds;
};