move VK source files to up-level folder

This commit is contained in:
2020-10-21 11:43:18 +08:00
parent 114c57510c
commit 917424e784
118 changed files with 506 additions and 468 deletions

View File

@@ -0,0 +1,30 @@
#ifndef HGL_GRAPH_VULKAN_SEMAPHORE_INCLUDE
#define HGL_GRAPH_VULKAN_SEMAPHORE_INCLUDE
#include<hgl/graph/VK.h>
VK_NAMESPACE_BEGIN
class GPUSemaphore
{
VkDevice device;
VkSemaphore sem;
private:
friend class Device;
GPUSemaphore(VkDevice d,VkSemaphore s)
{
device=d;
sem=s;
}
public:
~GPUSemaphore();
operator VkSemaphore(){return sem;}
operator const VkSemaphore *()const{return &sem;}
};//class GPUSemaphore
VK_NAMESPACE_END
#endif//HGL_GRAPH_VULKAN_SEMAPHORE_INCLUDE