mirror of
https://github.com/Tencent/ncnn.git
synced 2026-10-29 04:17:40 +08:00
reset fence
This commit is contained in:
@@ -548,6 +548,13 @@ int VkCompute::reset()
|
||||
return -1;
|
||||
}
|
||||
|
||||
ret = vkResetFences(vkdev->vkdevice(), 1, &fence);
|
||||
if (ret != VK_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "vkResetFences failed %d\n", ret);
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (vkdev->info.support_VK_KHR_push_descriptor)
|
||||
{
|
||||
begin_command_buffer();
|
||||
|
||||
Reference in New Issue
Block a user