anv: Fix descriptors copying
authorJózef Kucia <joseph.kucia@gmail.com>
Sat, 16 Sep 2017 12:23:43 +0000 (14:23 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 20 Sep 2017 11:14:49 +0000 (13:14 +0200)
Trivial.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_descriptor_set.c

index 91387c065e42ef51b3ba9aee771d584ecbd4c383..84077982307498553c8fb3fa0e6412d770a2b8a8 100644 (file)
@@ -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 =