VK.h中函数添加Vulkan专用名字空间包围

This commit is contained in:
HuYingzhuo 2019-04-16 14:18:10 +08:00
parent 2194cef2a8
commit 127215100c

View File

@ -8,8 +8,11 @@
#define VK_NAMESPACE_BEGIN namespace hgl{namespace graph{namespace vulkan{
#define VK_NAMESPACE_END }}}
VK_NAMESPACE_BEGIN
using CharPointerList=hgl::List<const char *>;
uint32_t GetStrideForFormat(const VkFormat &);
inline void debug_out(const hgl::List<VkLayerProperties> &layer_properties)
{
const int property_count=layer_properties.GetCount();
@ -38,5 +41,5 @@ inline void debug_out(const hgl::List<VkExtensionProperties> &extension_properti
++ep;
}
}
VK_NAMESPACE_END
#endif//HGL_GRAPH_VULKAN_INCLUDE