Skip to content

Commit

Permalink
Update Vulkan-Headers to v1.3.287
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored Jun 8, 2024
1 parent 4d12a28 commit e6aa04f
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 22 deletions.
26 changes: 22 additions & 4 deletions vulkan/vulkan.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# include <span>
#endif

static_assert( VK_HEADER_VERSION == 286, "Wrong VK_HEADER_VERSION!" );
static_assert( VK_HEADER_VERSION == 287, "Wrong VK_HEADER_VERSION!" );

// <tuple> includes <sys/sysmacros.h> through some other header
// this results in major(x) being resolved to gnu_dev_major(x)
Expand Down Expand Up @@ -4402,9 +4402,9 @@ namespace VULKAN_HPP_NAMESPACE
}

void vkCmdSetRenderingInputAttachmentIndicesKHR( VkCommandBuffer commandBuffer,
const VkRenderingInputAttachmentIndexInfoKHR * pLocationInfo ) const VULKAN_HPP_NOEXCEPT
const VkRenderingInputAttachmentIndexInfoKHR * pInputAttachmentIndexInfo ) const VULKAN_HPP_NOEXCEPT
{
return ::vkCmdSetRenderingInputAttachmentIndicesKHR( commandBuffer, pLocationInfo );
return ::vkCmdSetRenderingInputAttachmentIndicesKHR( commandBuffer, pInputAttachmentIndexInfo );
}

//=== VK_EXT_buffer_device_address ===
Expand Down Expand Up @@ -12568,6 +12568,24 @@ namespace VULKAN_HPP_NAMESPACE
};
};

template <>
struct StructExtends<ValidationFeaturesEXT, ShaderModuleCreateInfo>
{
enum
{
value = true
};
};

template <>
struct StructExtends<ValidationFeaturesEXT, ShaderCreateInfoEXT>
{
enum
{
value = true
};
};

//=== VK_KHR_present_wait ===
template <>
struct StructExtends<PhysicalDevicePresentWaitFeaturesKHR, PhysicalDeviceFeatures2>
Expand Down Expand Up @@ -16812,7 +16830,7 @@ namespace VULKAN_HPP_NAMESPACE
m_library = dlopen( "libvulkan.1.dylib", RTLD_NOW | RTLD_LOCAL );
}
# elif defined( _WIN32 )
m_library = ::LoadLibraryA( "vulkan-1.dll" );
m_library = ::LoadLibraryA( "vulkan-1.dll" );
# else
# error unsupported platform
# endif
Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_enums.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3955,7 +3955,7 @@ namespace VULKAN_HPP_NAMESPACE
eMesaDozen = VK_DRIVER_ID_MESA_DOZEN,
eMesaNvk = VK_DRIVER_ID_MESA_NVK,
eImaginationOpenSourceMESA = VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA,
eMesaAgxv = VK_DRIVER_ID_MESA_AGXV,
eMesaHoneykrisp = VK_DRIVER_ID_MESA_HONEYKRISP,
eReserved27 = VK_DRIVER_ID_RESERVED_27
};
using DriverIdKHR = DriverId;
Expand Down
16 changes: 10 additions & 6 deletions vulkan/vulkan_funcs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19114,25 +19114,29 @@ namespace VULKAN_HPP_NAMESPACE
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */

template <typename Dispatch>
VULKAN_HPP_INLINE void CommandBuffer::setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR * pLocationInfo,
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
VULKAN_HPP_INLINE void
CommandBuffer::setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR * pInputAttachmentIndexInfo,
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
d.vkCmdSetRenderingInputAttachmentIndicesKHR( m_commandBuffer, reinterpret_cast<const VkRenderingInputAttachmentIndexInfoKHR *>( pLocationInfo ) );
d.vkCmdSetRenderingInputAttachmentIndicesKHR( m_commandBuffer,
reinterpret_cast<const VkRenderingInputAttachmentIndexInfoKHR *>( pInputAttachmentIndexInfo ) );
}

#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
template <typename Dispatch>
VULKAN_HPP_INLINE void CommandBuffer::setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR & locationInfo,
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
VULKAN_HPP_INLINE void
CommandBuffer::setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR & inputAttachmentIndexInfo,
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
VULKAN_HPP_ASSERT( d.vkCmdSetRenderingInputAttachmentIndicesKHR &&
"Function <vkCmdSetRenderingInputAttachmentIndicesKHR> requires <VK_KHR_dynamic_rendering_local_read>" );
# endif

d.vkCmdSetRenderingInputAttachmentIndicesKHR( m_commandBuffer, reinterpret_cast<const VkRenderingInputAttachmentIndexInfoKHR *>( &locationInfo ) );
d.vkCmdSetRenderingInputAttachmentIndicesKHR( m_commandBuffer,
reinterpret_cast<const VkRenderingInputAttachmentIndexInfoKHR *>( &inputAttachmentIndexInfo ) );
}
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */

Expand Down
4 changes: 2 additions & 2 deletions vulkan/vulkan_handles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6098,11 +6098,11 @@ namespace VULKAN_HPP_NAMESPACE
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */

template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
void setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR * pLocationInfo,
void setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR * pInputAttachmentIndexInfo,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
void setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR & locationInfo,
void setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR & inputAttachmentIndexInfo,
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */

Expand Down
9 changes: 5 additions & 4 deletions vulkan/vulkan_raii.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6036,7 +6036,8 @@ namespace VULKAN_HPP_NAMESPACE

void setRenderingAttachmentLocationsKHR( const VULKAN_HPP_NAMESPACE::RenderingAttachmentLocationInfoKHR & locationInfo ) const VULKAN_HPP_NOEXCEPT;

void setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR & locationInfo ) const VULKAN_HPP_NOEXCEPT;
void setRenderingInputAttachmentIndicesKHR( const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR & inputAttachmentIndexInfo ) const
VULKAN_HPP_NOEXCEPT;

//=== VK_EXT_line_rasterization ===

Expand Down Expand Up @@ -19554,13 +19555,13 @@ namespace VULKAN_HPP_NAMESPACE
}

VULKAN_HPP_INLINE void CommandBuffer::setRenderingInputAttachmentIndicesKHR(
const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR & locationInfo ) const VULKAN_HPP_NOEXCEPT
const VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR & inputAttachmentIndexInfo ) const VULKAN_HPP_NOEXCEPT
{
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRenderingInputAttachmentIndicesKHR &&
"Function <vkCmdSetRenderingInputAttachmentIndicesKHR> requires <VK_KHR_dynamic_rendering_local_read>" );

getDispatcher()->vkCmdSetRenderingInputAttachmentIndicesKHR( static_cast<VkCommandBuffer>( m_commandBuffer ),
reinterpret_cast<const VkRenderingInputAttachmentIndexInfoKHR *>( &locationInfo ) );
getDispatcher()->vkCmdSetRenderingInputAttachmentIndicesKHR(
static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkRenderingInputAttachmentIndexInfoKHR *>( &inputAttachmentIndexInfo ) );
}

//=== VK_EXT_buffer_device_address ===
Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkan_to_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6507,7 +6507,7 @@ namespace VULKAN_HPP_NAMESPACE
case DriverId::eMesaDozen: return "MesaDozen";
case DriverId::eMesaNvk: return "MesaNvk";
case DriverId::eImaginationOpenSourceMESA: return "ImaginationOpenSourceMESA";
case DriverId::eMesaAgxv: return "MesaAgxv";
case DriverId::eMesaHoneykrisp: return "MesaHoneykrisp";
case DriverId::eReserved27: return "Reserved27";
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
}
Expand Down
20 changes: 19 additions & 1 deletion vulkan/vulkansc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6463,6 +6463,24 @@ namespace VULKAN_HPP_NAMESPACE
};
};

template <>
struct StructExtends<ValidationFeaturesEXT, ShaderModuleCreateInfo>
{
enum
{
value = true
};
};

template <>
struct StructExtends<ValidationFeaturesEXT, ShaderCreateInfoEXT>
{
enum
{
value = true
};
};

//=== VK_EXT_fragment_shader_interlock ===
template <>
struct StructExtends<PhysicalDeviceFragmentShaderInterlockFeaturesEXT, PhysicalDeviceFeatures2>
Expand Down Expand Up @@ -6967,7 +6985,7 @@ namespace VULKAN_HPP_NAMESPACE
m_library = dlopen( "libvulkan.1.dylib", RTLD_NOW | RTLD_LOCAL );
}
# elif defined( _WIN32 )
m_library = ::LoadLibraryA( "vulkan-1.dll" );
m_library = ::LoadLibraryA( "vulkan-1.dll" );
# else
# error unsupported platform
# endif
Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkansc_enums.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2662,7 +2662,7 @@ namespace VULKAN_HPP_NAMESPACE
eMesaDozen = VK_DRIVER_ID_MESA_DOZEN,
eMesaNvk = VK_DRIVER_ID_MESA_NVK,
eImaginationOpenSourceMESA = VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA,
eMesaAgxv = VK_DRIVER_ID_MESA_AGXV,
eMesaHoneykrisp = VK_DRIVER_ID_MESA_HONEYKRISP,
eReserved27 = VK_DRIVER_ID_RESERVED_27
};
using DriverIdKHR = DriverId;
Expand Down
2 changes: 1 addition & 1 deletion vulkan/vulkansc_to_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3662,7 +3662,7 @@ namespace VULKAN_HPP_NAMESPACE
case DriverId::eMesaDozen: return "MesaDozen";
case DriverId::eMesaNvk: return "MesaNvk";
case DriverId::eImaginationOpenSourceMESA: return "ImaginationOpenSourceMESA";
case DriverId::eMesaAgxv: return "MesaAgxv";
case DriverId::eMesaHoneykrisp: return "MesaHoneykrisp";
case DriverId::eReserved27: return "Reserved27";
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
}
Expand Down

0 comments on commit e6aa04f

Please sign in to comment.