VK.h中函数添加Vulkan专用名字空间包围
This commit is contained in:
parent
2194cef2a8
commit
127215100c
@ -8,8 +8,11 @@
|
|||||||
#define VK_NAMESPACE_BEGIN namespace hgl{namespace graph{namespace vulkan{
|
#define VK_NAMESPACE_BEGIN namespace hgl{namespace graph{namespace vulkan{
|
||||||
#define VK_NAMESPACE_END }}}
|
#define VK_NAMESPACE_END }}}
|
||||||
|
|
||||||
|
VK_NAMESPACE_BEGIN
|
||||||
using CharPointerList=hgl::List<const char *>;
|
using CharPointerList=hgl::List<const char *>;
|
||||||
|
|
||||||
|
uint32_t GetStrideForFormat(const VkFormat &);
|
||||||
|
|
||||||
inline void debug_out(const hgl::List<VkLayerProperties> &layer_properties)
|
inline void debug_out(const hgl::List<VkLayerProperties> &layer_properties)
|
||||||
{
|
{
|
||||||
const int property_count=layer_properties.GetCount();
|
const int property_count=layer_properties.GetCount();
|
||||||
@ -38,5 +41,5 @@ inline void debug_out(const hgl::List<VkExtensionProperties> &extension_properti
|
|||||||
++ep;
|
++ep;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
VK_NAMESPACE_END
|
||||||
#endif//HGL_GRAPH_VULKAN_INCLUDE
|
#endif//HGL_GRAPH_VULKAN_INCLUDE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user