Home
last modified time | relevance | path

Searched refs:__VkType (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/vulkan/util/
Dvk_object.h89 #define VK_DEFINE_HANDLE_CASTS(__driver_type, __base, __VkType, __VK_TYPE) \ argument
91 __driver_type ## _from_handle(__VkType _handle) \
99 static inline __VkType \
103 return (__VkType) _obj; \
106 #define VK_DEFINE_NONDISP_HANDLE_CASTS(__driver_type, __base, __VkType, __VK_TYPE) \ argument
108 __driver_type ## _from_handle(__VkType _handle) \
117 static inline __VkType \
121 return (__VkType)(uintptr_t) _obj; \
/external/mesa3d/src/vulkan/wsi/
Dwsi_common.h204 #define ICD_DEFINE_NONDISP_HANDLE_CASTS(__VkIcdType, __VkType) \ argument
207 __VkIcdType ## _from_handle(__VkType _handle) \
212 static inline __VkType \
215 return (__VkType)(uintptr_t) _obj; \
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_private.h91 #define LVP_DEFINE_HANDLE_CASTS(__lvp_type, __VkType) \ argument
94 __lvp_type ## _from_handle(__VkType _handle) \
99 static inline __VkType \
102 return (__VkType) _obj; \
105 #define LVP_DEFINE_NONDISP_HANDLE_CASTS(__lvp_type, __VkType) \ argument
108 __lvp_type ## _from_handle(__VkType _handle) \
113 static inline __VkType \
116 return (__VkType)(uintptr_t) _obj; \
/external/mesa3d/src/freedreno/vulkan/
Dtu_private.h1538 #define TU_DEFINE_HANDLE_CASTS(__tu_type, __VkType) \ argument
1540 static inline struct __tu_type *__tu_type##_from_handle(__VkType _handle) \
1545 static inline __VkType __tu_type##_to_handle(struct __tu_type *_obj) \
1547 return (__VkType) _obj; \
1550 #define TU_DEFINE_NONDISP_HANDLE_CASTS(__tu_type, __VkType) \ argument
1552 static inline struct __tu_type *__tu_type##_from_handle(__VkType _handle) \
1557 static inline __VkType __tu_type##_to_handle(struct __tu_type *_obj) \
1559 return (__VkType)(uintptr_t) _obj; \
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_private.h1928 #define V3DV_DEFINE_HANDLE_CASTS(__v3dv_type, __VkType) \ argument
1931 __v3dv_type ## _from_handle(__VkType _handle) \
1936 static inline __VkType \
1939 return (__VkType) _obj; \
1942 #define V3DV_DEFINE_NONDISP_HANDLE_CASTS(__v3dv_type, __VkType) \ argument
1945 __v3dv_type ## _from_handle(__VkType _handle) \
1950 static inline __VkType \
1953 return (__VkType)(uintptr_t) _obj; \
/external/mesa3d/src/amd/vulkan/
Dradv_private.h2682 #define RADV_DEFINE_HANDLE_CASTS(__radv_type, __VkType) \ argument
2685 __radv_type ## _from_handle(__VkType _handle) \
2690 static inline __VkType \
2693 return (__VkType) _obj; \
2696 #define RADV_DEFINE_NONDISP_HANDLE_CASTS(__radv_type, __VkType) \ argument
2699 __radv_type ## _from_handle(__VkType _handle) \
2704 static inline __VkType \
2707 return (__VkType)(uintptr_t) _obj; \