diff options
author | Chad Versace <[email protected]> | 2015-10-07 10:58:55 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-10-07 10:58:55 -0700 |
commit | 8dee32e71f0ccbdf2b9404fe553a83da8bea79dc (patch) | |
tree | 1d18c287383bcd10c49c8ca4a113e2cb9ee5c5bd /src/vulkan/anv_device.c | |
parent | 92e7bd361065ff3dad863736456f3729952bf5a2 (diff) |
vk/0.170: Update VkDescriptorInfo
Ignore the new bufferInfo field with a anv_finishme.
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r-- | src/vulkan/anv_device.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index dd0aac48303..b12fabc2007 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -1701,6 +1701,16 @@ 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: |