vkr: set VkResult for vkFreeDescriptorSets

Unlike vkFreeCommandBuffers, vkFreeDescriptorSets has a return value.

Fixes: d6c6fd7 ("vkr: add FREE_OBJECT_ARRAY")
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
macos/master
Chia-I Wu 3 years ago
parent 5b08e33fee
commit ee1311f951
  1. 2
      src/vkr_renderer.c

@ -2898,6 +2898,8 @@ vkr_dispatch_vkFreeDescriptorSets(struct vn_dispatch_context *dispatch,
FREE_OBJECT_ARRAY(set, descriptor_set, DESCRIPTOR_SET, vkFreeDescriptorSets, FREE_OBJECT_ARRAY(set, descriptor_set, DESCRIPTOR_SET, vkFreeDescriptorSets,
pDescriptorSets, descriptorSetCount, descriptorPool); pDescriptorSets, descriptorSetCount, descriptorPool);
args->ret = VK_SUCCESS;
} }
static void static void

Loading…
Cancel
Save