summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJózef Kucia <[email protected]>2017-09-16 14:23:43 +0200
committerJuan A. Suarez Romero <[email protected]>2017-09-20 13:14:49 +0200
commit65a09f98ad1411982ce68de7a2d05942d608e674 (patch)
treeebbc55aeed3b7395dfd7b68863bfbcd0c002dafa
parentdcf46e995dddfba0e0ccf6f4fa3f97d1883d67e8 (diff)
anv: Fix descriptors copying
Trivial. Cc: [email protected] Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/intel/vulkan/anv_descriptor_set.c2
1 files changed, 1 insertions, 1 deletions
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 =