mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-06 23:04:54 +00:00
vulkan: use correct return codes for query errors
This commit is contained in:
parent
0a1f724bf4
commit
fd86c373c2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user