[Bug 95259] [Vulkan] vkResetFences fails to reset fence to the unsignaled state

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 3 10:27:17 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95259

--- Comment #4 from Constantinos Vryonides <cv1212 at ic.ac.uk> ---
Indeed, I think the problem is not vkResetFences().

I had a look at the source code and it seems that there is logic in
vkGetFenceStatus() to actually reset the fence to the signalled state if it is
not in use. You can find the logic in anv_device.c lines 1516-1520. Maybe the
same logic is found in  vkWaitForFences() as well.

Also, I noticed that vkCreateFence() always creates the fence in the
unsignalled state and ignores the flags from the creation info struct.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160603/5accf242/attachment.html>


More information about the intel-3d-bugs mailing list