From: Jason Ekstrand Date: Thu, 15 Oct 2015 22:17:07 +0000 (-0700) Subject: anv/device: Remove some unneeded anv_finishmes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b459b3d82cd4a77f1004907ad9b2487111390a84;p=mesa.git anv/device: Remove some unneeded anv_finishmes --- 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: