forked from FFmpeg/FFmpeg
vulkan: use correct return codes for query errors
This commit is contained in:
parent
0a1f724bf4
commit
fd86c373c2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue