From: Jason Ekstrand Date: Thu, 30 Jul 2015 18:29:55 +0000 (-0700) Subject: vk/reloc_list: Actually set the new length in reloc_list_grow X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7af67e085f0f7d1f794c010b5291962027917602;p=mesa.git vk/reloc_list: Actually set the new length in reloc_list_grow --- 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;