mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
e3e4ff0b84
commit
49f93a4c5e
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue