fix chaos of Layer and extension
This commit is contained in:
@@ -84,6 +84,14 @@ public:
|
||||
return Resize(extent);
|
||||
}
|
||||
|
||||
public: //
|
||||
|
||||
template<typename T>
|
||||
T *GetProc(const char *name)
|
||||
{
|
||||
return reinterpret_cast<T>(vkGetDeviceProcAddr(attr->device,name));
|
||||
}
|
||||
|
||||
public: //内存相关
|
||||
|
||||
GPUMemory *CreateMemory(const VkMemoryRequirements &,const uint32_t properties);
|
||||
|
Reference in New Issue
Block a user