vulkan: use correct return codes for query errors

This commit is contained in:
Lynne 2024-08-30 16:43:21 +00:00
parent 0a1f724bf4
commit fd86c373c2
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464

View File

@ -444,7 +444,7 @@ VkResult ff_vk_exec_get_query(FFVulkanContext *s, FFVkExecContext *e,
VkQueryResultFlags qf = 0;
if (!e->had_submission)
return VK_NOT_READY;
return VK_INCOMPLETE;
qf |= pool->query_64bit ?
VK_QUERY_RESULT_64_BIT : 0x0;