From b459b3d82cd4a77f1004907ad9b2487111390a84 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 15 Oct 2015 15:17:07 -0700 Subject: [PATCH] anv/device: Remove some unneeded anv_finishmes --- src/vulkan/anv_device.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index bd1c0f2908d..d9065b05390 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -1644,16 +1644,6 @@ void anv_UpdateDescriptorSets( const VkWriteDescriptorSet *write = &pDescriptorWrites[i]; ANV_FROM_HANDLE(anv_descriptor_set, set, write->destSet); - for (uint32_t j = 0; j < write->count; ++j) { - const VkDescriptorBufferInfo *binfo - = &write->pDescriptors[j].bufferInfo; - - if (binfo->buffer.handle || binfo->offset || binfo->range) { - anv_finishme("VkWriteDesciptorSet::bufferInfo"); - break; - } - } - switch (write->descriptorType) { case VK_DESCRIPTOR_TYPE_SAMPLER: case VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER: -- 2.30.2