From 7af67e085f0f7d1f794c010b5291962027917602 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 30 Jul 2015 11:29:55 -0700 Subject: [PATCH] vk/reloc_list: Actually set the new length in reloc_list_grow --- src/vulkan/anv_cmd_buffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/anv_cmd_buffer.c b/src/vulkan/anv_cmd_buffer.c index 5126f4a981c..ee79e1b4924 100644 --- a/src/vulkan/anv_cmd_buffer.c +++ b/src/vulkan/anv_cmd_buffer.c @@ -126,6 +126,7 @@ anv_reloc_list_grow(struct anv_reloc_list *list, struct anv_device *device, anv_device_free(device, list->relocs); anv_device_free(device, list->reloc_bos); + list->array_length = new_length; list->relocs = new_relocs; list->reloc_bos = new_reloc_bos; -- 2.30.2