summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-15 15:17:07 -0700
committerJason Ekstrand <[email protected]>2015-10-15 15:17:07 -0700
commitb459b3d82cd4a77f1004907ad9b2487111390a84 (patch)
tree6c4e5f5c7b404e67fc6f705e959a15fc62711af5 /src/vulkan/anv_device.c
parentba205696261055aa5298a1852117c0a24fae10c4 (diff)
anv/device: Remove some unneeded anv_finishmes
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r--src/vulkan/anv_device.c10
1 files changed, 0 insertions, 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: