anv/device: Remove some unneeded anv_finishmes
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 22:17:07 +0000 (15:17 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Oct 2015 22:17:07 +0000 (15:17 -0700)
src/vulkan/anv_device.c

index bd1c0f2908da1de185765b77bbb9c17925d1d2f3..d9065b053904c056b23528a58b3a2f028c5d5546 100644 (file)
@@ -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: