mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-10 12:28:48 -04:00
Add missing alias classes for raii-handle wrappers (#2148)
This commit is contained in:
parent
6dc0a4e2cf
commit
a804eaa9b2
@ -10303,10 +10303,11 @@ std::string VulkanHppGenerator::generateRAIIHandleForwardDeclarations( std::vect
|
|||||||
{
|
{
|
||||||
for ( auto const & type : require.types )
|
for ( auto const & type : require.types )
|
||||||
{
|
{
|
||||||
auto handleIt = m_handles.find( type.name );
|
auto handleIt = findByNameOrAlias( m_handles, type.name );
|
||||||
if ( handleIt != m_handles.end() )
|
if ( handleIt != m_handles.end() )
|
||||||
{
|
{
|
||||||
str += " class " + stripPrefix( handleIt->first, "Vk" ) + ";\n";
|
str += ( handleIt->first == type.name ) ? ( " class " + stripPrefix( handleIt->first, "Vk" ) + ";\n" )
|
||||||
|
: ( " using " + stripPrefix( type.name, "Vk" ) + " = " + stripPrefix( handleIt->first, "Vk" ) + ";\n" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2885,12 +2885,18 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
class CuModuleNVX;
|
class CuModuleNVX;
|
||||||
class CuFunctionNVX;
|
class CuFunctionNVX;
|
||||||
|
|
||||||
|
//=== VK_KHR_descriptor_update_template ===
|
||||||
|
using DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate;
|
||||||
|
|
||||||
//=== VK_EXT_debug_utils ===
|
//=== VK_EXT_debug_utils ===
|
||||||
class DebugUtilsMessengerEXT;
|
class DebugUtilsMessengerEXT;
|
||||||
|
|
||||||
//=== VK_KHR_acceleration_structure ===
|
//=== VK_KHR_acceleration_structure ===
|
||||||
class AccelerationStructureKHR;
|
class AccelerationStructureKHR;
|
||||||
|
|
||||||
|
//=== VK_KHR_sampler_ycbcr_conversion ===
|
||||||
|
using SamplerYcbcrConversionKHR = SamplerYcbcrConversion;
|
||||||
|
|
||||||
//=== VK_EXT_validation_cache ===
|
//=== VK_EXT_validation_cache ===
|
||||||
class ValidationCacheEXT;
|
class ValidationCacheEXT;
|
||||||
|
|
||||||
@ -2906,6 +2912,9 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
//=== VK_NV_device_generated_commands ===
|
//=== VK_NV_device_generated_commands ===
|
||||||
class IndirectCommandsLayoutNV;
|
class IndirectCommandsLayoutNV;
|
||||||
|
|
||||||
|
//=== VK_EXT_private_data ===
|
||||||
|
using PrivateDataSlotEXT = PrivateDataSlot;
|
||||||
|
|
||||||
# if defined( VK_ENABLE_BETA_EXTENSIONS )
|
# if defined( VK_ENABLE_BETA_EXTENSIONS )
|
||||||
//=== VK_NV_cuda_kernel_launch ===
|
//=== VK_NV_cuda_kernel_launch ===
|
||||||
class CudaModuleNV;
|
class CudaModuleNV;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user