Mesa (main): lavapipe: set events to the unsignalled state on creation
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu May 6 15:09:34 UTC 2021
Module: Mesa
Branch: main
Commit: 49f93a4c5e119b2a340dd22c4ea6752519c0e81f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49f93a4c5e119b2a340dd22c4ea6752519c0e81f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Tue May 4 11:58:09 2021 -0400
lavapipe: set events to the unsignalled state on creation
this is otherwise uninitialized and not compliant with spec
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10625>
---
src/gallium/frontends/lavapipe/lvp_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c
index 45ad59e4d90..a153c190ad8 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -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;
}
More information about the mesa-commit
mailing list