Home
last modified time | relevance | path

Searched refs:vkObject (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Vulkan/
DVkObject.hpp30 static inline T *VkTtoT(VkT vkObject) in VkTtoT() argument
32 return static_cast<T *>(static_cast<void *>(vkObject)); in VkTtoT()
111 static inline T *Cast(VkT vkObject) in Cast() argument
113 return vk::VkTtoT<T, VkT>(vkObject); in Cast()
158 static inline T *Cast(VkT vkObject) in Cast() argument
160 …return (vkObject == VK_NULL_HANDLE) ? nullptr : &(reinterpret_cast<DispatchableObject<T, VkT> *>(v… in Cast()
DVkDestroy.h53 inline void destroy(VkT vkObject, const VkAllocationCallbacks* pAllocator) in destroy() argument
55 auto object = Cast(vkObject); in destroy()
64 vk::deallocate(vkObject, pAllocator); in destroy()