Make C++20 modules work with the defaultDispatchLoaderDynamic. (#1651)
* Make C++20 modules work with the defaultDispatchLoaderDynamic. * Add vulkan_hpp_macros.hpp to list of installed files. * Adjust the text on module in the readme. * Rename module from vulkan to vulkan_hpp * Adjust some comments. * Add a little disclaimer to vulkan.cppm.
This commit is contained in:
committed by
GitHub
parent
a2e240c7e7
commit
d4704cce01
@@ -5,6 +5,9 @@
|
||||
|
||||
// This header is generated from the Khronos Vulkan XML API Registry.
|
||||
|
||||
// Note: This module is still in an experimental state.
|
||||
// Any feedback is welcome on https://github.com/KhronosGroup/Vulkan-Hpp/issues.
|
||||
|
||||
module;
|
||||
|
||||
#include <vulkan/vulkansc.hpp>
|
||||
@@ -13,9 +16,7 @@ module;
|
||||
#include <vulkan/vulkansc_hash.hpp>
|
||||
#include <vulkan/vulkansc_raii.hpp>
|
||||
|
||||
export module vulkansc;
|
||||
|
||||
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE
|
||||
export module vulkansc_hpp;
|
||||
|
||||
export namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
@@ -25,6 +26,7 @@ export namespace VULKAN_HPP_NAMESPACE
|
||||
using VULKAN_HPP_NAMESPACE::ArrayWrapper1D;
|
||||
using VULKAN_HPP_NAMESPACE::ArrayWrapper2D;
|
||||
using VULKAN_HPP_NAMESPACE::DispatchLoaderBase;
|
||||
using VULKAN_HPP_NAMESPACE::DispatchLoaderDynamic;
|
||||
using VULKAN_HPP_NAMESPACE::Flags;
|
||||
using VULKAN_HPP_NAMESPACE::FlagTraits;
|
||||
|
||||
@@ -1362,8 +1364,6 @@ export namespace VULKAN_HPP_NAMESPACE
|
||||
using VULKAN_HPP_NAMESPACE::DynamicLoader;
|
||||
#endif /*VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL*/
|
||||
|
||||
using VULKAN_HPP_NAMESPACE::DispatchLoaderDynamic;
|
||||
|
||||
//=====================
|
||||
//=== Format Traits ===
|
||||
//=====================
|
||||
|
||||
Reference in New Issue
Block a user