mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
vulkan: Fix descriptor set layout allocation scope
Fixes: 949ce92 ("vulkan: Add a base struct for descriptor set layouts")
Signed-off-by: Konstantin Seurer <konstantin.seurer@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17818>
This commit is contained in:
parent
8b13acd715
commit
ae64b7a08c
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ vk_descriptor_set_layout_zalloc(struct vk_device *device, size_t size)
|
|||
* their own object.
|
||||
*/
|
||||
struct vk_descriptor_set_layout *layout =
|
||||
vk_zalloc(&device->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_OBJECT);
|
||||
vk_zalloc(&device->alloc, size, 8, VK_SYSTEM_ALLOCATION_SCOPE_DEVICE);
|
||||
|
||||
vk_descriptor_set_layout_init(device, layout);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue