Module: Mesa
Branch: main
Commit: 49f93a4c5e119b2a340dd22c4ea6752519c0e81f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=49f93a4c5e119b2a340dd22c4ea6752519c0e81f

Author: Mike Blumenkrantz <[email protected]>
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 <[email protected]>
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;
 }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to