anv/wsi: Stop resetting semaphores
This will happen automatically when they're waited on by the dummy submit in wsi_common_queue_present(). Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4037>
This commit is contained in:

committed by
Marge Bot

parent
18b3ad5a09
commit
a820dc4a8e
@@ -112,17 +112,6 @@ VkResult anv_QueuePresentKHR(
|
||||
_queue, 0,
|
||||
pPresentInfo);
|
||||
|
||||
for (uint32_t i = 0; i < pPresentInfo->waitSemaphoreCount; i++) {
|
||||
VK_FROM_HANDLE(vk_semaphore, semaphore, pPresentInfo->pWaitSemaphores[i]);
|
||||
/* From the Vulkan 1.0.53 spec:
|
||||
*
|
||||
* "If the import is temporary, the implementation must restore the
|
||||
* semaphore to its prior permanent state after submitting the next
|
||||
* semaphore wait operation."
|
||||
*/
|
||||
vk_semaphore_reset_temporary(&queue->device->vk, semaphore);
|
||||
}
|
||||
|
||||
u_trace_context_process(&device->ds.trace_context, true);
|
||||
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user