Extend cases when vk::detail::DispatchLoaderStatic is defined. (#1995)

This commit is contained in:
Andreas Süßenbach 2024-11-14 12:19:22 +01:00 committed by GitHub
parent a4d53f4a22
commit d433715af0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -6726,7 +6726,7 @@ ${deviceCommandAssignments}
std::string VulkanHppGenerator::generateDispatchLoaderStatic() const
{
const std::string dispatchLoaderStaticTemplate = R"(
#if !defined( VK_NO_PROTOTYPES )
#if !defined( VK_NO_PROTOTYPES ) || ( defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC ) && ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 0 ) )
class DispatchLoaderStatic : public DispatchLoaderBase
{
public:

View File

@ -980,7 +980,7 @@ namespace VULKAN_HPP_NAMESPACE
#endif
};
#if !defined( VK_NO_PROTOTYPES )
#if !defined( VK_NO_PROTOTYPES ) || ( defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC ) && ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 0 ) )
class DispatchLoaderStatic : public DispatchLoaderBase
{
public:

View File

@ -980,7 +980,7 @@ namespace VULKAN_HPP_NAMESPACE
#endif
};
#if !defined( VK_NO_PROTOTYPES )
#if !defined( VK_NO_PROTOTYPES ) || ( defined( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC ) && ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 0 ) )
class DispatchLoaderStatic : public DispatchLoaderBase
{
public: