From: Józef Kucia Date: Sat, 16 Sep 2017 12:23:43 +0000 (+0200) Subject: anv: Fix descriptors copying X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65a09f98ad1411982ce68de7a2d05942d608e674;p=mesa.git anv: Fix descriptors copying Trivial. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_descriptor_set.c b/src/intel/vulkan/anv_descriptor_set.c index 91387c065e4..84077982307 100644 --- a/src/intel/vulkan/anv_descriptor_set.c +++ b/src/intel/vulkan/anv_descriptor_set.c @@ -764,7 +764,7 @@ void anv_UpdateDescriptorSets( for (uint32_t i = 0; i < descriptorCopyCount; i++) { const VkCopyDescriptorSet *copy = &pDescriptorCopies[i]; - ANV_FROM_HANDLE(anv_descriptor_set, src, copy->dstSet); + ANV_FROM_HANDLE(anv_descriptor_set, src, copy->srcSet); ANV_FROM_HANDLE(anv_descriptor_set, dst, copy->dstSet); const struct anv_descriptor_set_binding_layout *src_layout =