From 0f515d591a81b045fd2b04465df402ec4704dbef Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 16 Jan 2025 12:30:28 +0000 Subject: [PATCH] Don't assert on an empty next list of VkBindSparseInfo --- renderdoc/driver/vulkan/wrappers/vk_queue_funcs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/driver/vulkan/wrappers/vk_queue_funcs.cpp b/renderdoc/driver/vulkan/wrappers/vk_queue_funcs.cpp index a124f234a..e6ce31d43 100644 --- a/renderdoc/driver/vulkan/wrappers/vk_queue_funcs.cpp +++ b/renderdoc/driver/vulkan/wrappers/vk_queue_funcs.cpp @@ -1863,7 +1863,7 @@ VkResult WrappedVulkan::vkQueueBindSparse(VkQueue queue, uint32_t bindInfoCount, for(uint32_t i = 0; i < bindInfoCount; i++) { // copy the original so we get all the params we don't need to change - RDCASSERT(pBindInfo[i].sType == VK_STRUCTURE_TYPE_BIND_SPARSE_INFO && pBindInfo[i].pNext == NULL); + RDCASSERT(pBindInfo[i].sType == VK_STRUCTURE_TYPE_BIND_SPARSE_INFO); unwrapped[i] = pBindInfo[i]; UnwrapNextChain(m_State, "VkBindSparseInfo", next, (VkBaseInStructure *)&unwrapped[i]);