nvk: Do not ignore contiguous in nvk_heap_init

It was previously hardcoded since the switch to nvk_mem_arena.

Fixes: 9e52e296f7 ("nvk/heap: Use an nvk_mem_arena")
Signed-off-by: Mary Guillemard <mary@mary.zone>
Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36059>
This commit is contained in:
Mary Guillemard 2025-07-10 21:16:42 +02:00 committed by Marge Bot
parent 59019a05f6
commit b89bf4b79b

View file

@ -20,7 +20,7 @@ nvk_heap_init(struct nvk_device *dev, struct nvk_heap *heap,
uint32_t overalloc, bool contiguous)
{
VkResult result = nvk_mem_arena_init(dev, &heap->arena, mem_flags, map_flags,
true, NVK_MEM_ARENA_MAX_SIZE);
contiguous, NVK_MEM_ARENA_MAX_SIZE);
if (result != VK_SUCCESS)
return result;