xref: /aosp_15_r20/external/mesa3d/src/freedreno/vulkan/tu_event.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright © 2016 Red Hat.
3  * Copyright © 2016 Bas Nieuwenhuizen
4  * SPDX-License-Identifier: MIT
5  *
6  * based in part on anv driver which is:
7  * Copyright © 2015 Intel Corporation
8  */
9 
10 #ifndef TU_EVENT_H
11 #define TU_EVENT_H
12 
13 #include "tu_common.h"
14 
15 struct tu_event
16 {
17    struct vk_object_base base;
18    struct tu_bo *bo;
19 };
20 
21 VK_DEFINE_NONDISP_HANDLE_CASTS(tu_event, base, VkEvent, VK_OBJECT_TYPE_EVENT)
22 
23 #endif /* TU_EVENT_H */
24