mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
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:
parent
59019a05f6
commit
b89bf4b79b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue