lavapipe: set events to the unsignalled state on creation

this is otherwise uninitialized and not compliant with spec

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10625>
This commit is contained in:
Mike Blumenkrantz 2021-05-04 11:58:09 -04:00 committed by Marge Bot
parent e3e4ff0b84
commit 49f93a4c5e

View file

@ -1886,6 +1886,7 @@ VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateEvent(
vk_object_base_init(&device->vk, &event->base, VK_OBJECT_TYPE_EVENT);
*pEvent = lvp_event_to_handle(event);
event->event_storage = 0;
return VK_SUCCESS;
}