From ee1311f9513ee0abaf1c046c592e48d87b9f2776 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 28 Jul 2021 00:32:31 -0700 Subject: [PATCH] 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 Reviewed-by: Yiwei Zhang --- src/vkr_renderer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vkr_renderer.c b/src/vkr_renderer.c index 3650e47..1f3d64b 100644 --- a/src/vkr_renderer.c +++ b/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, pDescriptorSets, descriptorSetCount, descriptorPool); + + args->ret = VK_SUCCESS; } static void