Compare commits
3 Commits
e7c1faa102
...
bca137e46b
| Author | SHA1 | Date |
|---|---|---|
|
|
bca137e46b | |
|
|
73121db60b | |
|
|
6bbd8ccd68 |
|
|
@ -1 +1 @@
|
|||
Subproject commit 39c50d7bf094853a1f9a2e8a7e3377d425ae0c6a
|
||||
Subproject commit 6aefb8eb95c8e170d0805fd0f2d02832ec1e099a
|
||||
|
|
@ -564,6 +564,31 @@ int main( int /*argc*/, char ** /*argv*/ )
|
|||
vk::Result result = device.waitForFences( fence, waitAll, timeout );
|
||||
}
|
||||
|
||||
// Queue semaphore commands
|
||||
{
|
||||
vk::Device device;
|
||||
vk::SemaphoreCreateInfo semaphoreCreateInfo;
|
||||
vk::Semaphore semaphore;
|
||||
vk::Result result = device.createSemaphore( &semaphoreCreateInfo, nullptr, &semaphore );
|
||||
}
|
||||
{
|
||||
vk::Device device;
|
||||
vk::SemaphoreCreateInfo semaphoreCreateInfo;
|
||||
vk::Semaphore semaphore = device.createSemaphore( semaphoreCreateInfo );
|
||||
}
|
||||
|
||||
{
|
||||
vk::Device device;
|
||||
vk::Semaphore semaphore;
|
||||
vk::AllocationCallbacks allocationCallbacks;
|
||||
device.destroySemaphore( semaphore, &allocationCallbacks );
|
||||
}
|
||||
{
|
||||
vk::Device device;
|
||||
vk::Semaphore semaphore;
|
||||
device.destroySemaphore( semaphore );
|
||||
}
|
||||
|
||||
#if 0
|
||||
{
|
||||
vk::PhysicalDevice physicalDevice;
|
||||
|
|
|
|||
|
|
@ -287,5 +287,17 @@ int main( int /*argc*/, char ** /*argv*/ )
|
|||
vk::Result result = device.waitForFences( fence, waitAll, timeout );
|
||||
}
|
||||
|
||||
// Queue semaphore commands
|
||||
{
|
||||
vk::raii::Device device = nullptr;
|
||||
vk::SemaphoreCreateInfo semaphoreCreateInfo;
|
||||
vk::raii::Semaphore semaphore = device.createSemaphore( semaphoreCreateInfo );
|
||||
}
|
||||
{
|
||||
vk::raii::Device device = nullptr;
|
||||
vk::SemaphoreCreateInfo semaphoreCreateInfo;
|
||||
vk::raii::Semaphore semaphore( device, semaphoreCreateInfo );
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4871,6 +4871,7 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM;
|
||||
|
||||
//=== VK_NV_ray_tracing_invocation_reorder ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesNV;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderPropertiesNV;
|
||||
|
||||
//=== VK_NV_cooperative_vector ===
|
||||
|
|
@ -5194,7 +5195,6 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
|
||||
//=== VK_EXT_ray_tracing_invocation_reorder ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesNV;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderPropertiesEXT;
|
||||
|
||||
//=== VK_EXT_depth_clamp_control ===
|
||||
|
|
@ -8709,6 +8709,8 @@ export namespace std
|
|||
//=== VK_NV_ray_tracing_invocation_reorder ===
|
||||
template <>
|
||||
struct hash<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderPropertiesNV>;
|
||||
template <>
|
||||
struct hash<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesNV>;
|
||||
|
||||
//=== VK_NV_cooperative_vector ===
|
||||
template <>
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
|||
# endif
|
||||
#endif
|
||||
|
||||
VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 333, "Wrong VK_HEADER_VERSION!" );
|
||||
VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 334, "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)
|
||||
|
|
@ -17473,6 +17473,24 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
};
|
||||
};
|
||||
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceRayTracingInvocationReorderFeaturesNV, PhysicalDeviceFeatures2>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceRayTracingInvocationReorderFeaturesNV, DeviceCreateInfo>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
|
||||
//=== VK_NV_cooperative_vector ===
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceCooperativeVectorPropertiesNV, PhysicalDeviceProperties2>
|
||||
|
|
|
|||
|
|
@ -1491,6 +1491,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
eReleaseSwapchainImagesInfoKHR = VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_KHR,
|
||||
eReleaseSwapchainImagesInfoEXT = VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT,
|
||||
ePhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM,
|
||||
ePhysicalDeviceRayTracingInvocationReorderFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV,
|
||||
ePhysicalDeviceRayTracingInvocationReorderPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV,
|
||||
ePhysicalDeviceCooperativeVectorFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_VECTOR_FEATURES_NV,
|
||||
ePhysicalDeviceCooperativeVectorPropertiesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_VECTOR_PROPERTIES_NV,
|
||||
|
|
@ -1677,7 +1678,6 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
eImageAlignmentControlCreateInfoMESA = VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA,
|
||||
ePhysicalDeviceShaderFmaFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FMA_FEATURES_KHR,
|
||||
ePhysicalDeviceRayTracingInvocationReorderFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_EXT,
|
||||
ePhysicalDeviceRayTracingInvocationReorderFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV,
|
||||
ePhysicalDeviceRayTracingInvocationReorderPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_EXT,
|
||||
ePhysicalDeviceDepthClampControlFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_CONTROL_FEATURES_EXT,
|
||||
ePipelineViewportDepthClampControlCreateInfoEXT = VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT,
|
||||
|
|
|
|||
|
|
@ -1827,6 +1827,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
|
||||
//=== VK_NV_ray_tracing_invocation_reorder ===
|
||||
struct PhysicalDeviceRayTracingInvocationReorderPropertiesNV;
|
||||
struct PhysicalDeviceRayTracingInvocationReorderFeaturesNV;
|
||||
|
||||
//=== VK_NV_cooperative_vector ===
|
||||
struct PhysicalDeviceCooperativeVectorPropertiesNV;
|
||||
|
|
@ -2150,7 +2151,6 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_EXT_ray_tracing_invocation_reorder ===
|
||||
struct PhysicalDeviceRayTracingInvocationReorderPropertiesEXT;
|
||||
struct PhysicalDeviceRayTracingInvocationReorderFeaturesEXT;
|
||||
using PhysicalDeviceRayTracingInvocationReorderFeaturesNV = PhysicalDeviceRayTracingInvocationReorderFeaturesEXT;
|
||||
|
||||
//=== VK_EXT_depth_clamp_control ===
|
||||
struct PhysicalDeviceDepthClampControlFeaturesEXT;
|
||||
|
|
|
|||
|
|
@ -13130,6 +13130,21 @@ namespace std
|
|||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct hash<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesNV>
|
||||
{
|
||||
std::size_t
|
||||
operator()( VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesNV const & physicalDeviceRayTracingInvocationReorderFeaturesNV ) const
|
||||
VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
std::size_t seed = 0;
|
||||
VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceRayTracingInvocationReorderFeaturesNV.sType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceRayTracingInvocationReorderFeaturesNV.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceRayTracingInvocationReorderFeaturesNV.rayTracingInvocationReorder );
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct hash<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderPropertiesEXT>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7471,6 +7471,14 @@ VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::Physical
|
|||
VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderPropertiesNV>::value,
|
||||
"PhysicalDeviceRayTracingInvocationReorderPropertiesNV is not nothrow_move_constructible!" );
|
||||
|
||||
VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesNV ) ==
|
||||
sizeof( VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV ),
|
||||
"struct and wrapper have different size!" );
|
||||
VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesNV>::value,
|
||||
"struct wrapper is not a standard layout!" );
|
||||
VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingInvocationReorderFeaturesNV>::value,
|
||||
"PhysicalDeviceRayTracingInvocationReorderFeaturesNV is not nothrow_move_constructible!" );
|
||||
|
||||
//=== VK_NV_cooperative_vector ===
|
||||
|
||||
VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceCooperativeVectorPropertiesNV ) ==
|
||||
|
|
|
|||
|
|
@ -108607,7 +108607,120 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
using Type = PhysicalDeviceRayTracingInvocationReorderFeaturesEXT;
|
||||
};
|
||||
|
||||
using PhysicalDeviceRayTracingInvocationReorderFeaturesNV = PhysicalDeviceRayTracingInvocationReorderFeaturesEXT;
|
||||
// wrapper struct for struct VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV, see
|
||||
// https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV.html
|
||||
struct PhysicalDeviceRayTracingInvocationReorderFeaturesNV
|
||||
{
|
||||
using NativeType = VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV;
|
||||
|
||||
static const bool allowDuplicate = false;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceRayTracingInvocationReorderFeaturesNV;
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR PhysicalDeviceRayTracingInvocationReorderFeaturesNV( Bool32 rayTracingInvocationReorder_ = {},
|
||||
void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT
|
||||
: pNext{ pNext_ }
|
||||
, rayTracingInvocationReorder{ rayTracingInvocationReorder_ }
|
||||
{
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR
|
||||
PhysicalDeviceRayTracingInvocationReorderFeaturesNV( PhysicalDeviceRayTracingInvocationReorderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
PhysicalDeviceRayTracingInvocationReorderFeaturesNV( VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
: PhysicalDeviceRayTracingInvocationReorderFeaturesNV( *reinterpret_cast<PhysicalDeviceRayTracingInvocationReorderFeaturesNV const *>( &rhs ) )
|
||||
{
|
||||
}
|
||||
|
||||
PhysicalDeviceRayTracingInvocationReorderFeaturesNV &
|
||||
operator=( PhysicalDeviceRayTracingInvocationReorderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/
|
||||
|
||||
PhysicalDeviceRayTracingInvocationReorderFeaturesNV & operator=( VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<PhysicalDeviceRayTracingInvocationReorderFeaturesNV const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS )
|
||||
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRayTracingInvocationReorderFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceRayTracingInvocationReorderFeaturesNV &
|
||||
setRayTracingInvocationReorder( Bool32 rayTracingInvocationReorder_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
rayTracingInvocationReorder = rayTracingInvocationReorder_;
|
||||
return *this;
|
||||
}
|
||||
#endif /*VULKAN_HPP_NO_SETTERS*/
|
||||
|
||||
operator VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV *>( this );
|
||||
}
|
||||
|
||||
operator VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV *>( this );
|
||||
}
|
||||
|
||||
operator VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV const *() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return reinterpret_cast<const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV *>( this );
|
||||
}
|
||||
|
||||
operator VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV *() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return reinterpret_cast<VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_USE_REFLECT )
|
||||
std::tuple<StructureType const &, void * const &, Bool32 const &> reflect() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return std::tie( sType, pNext, rayTracingInvocationReorder );
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( PhysicalDeviceRayTracingInvocationReorderFeaturesNV const & ) const = default;
|
||||
#else
|
||||
bool operator==( PhysicalDeviceRayTracingInvocationReorderFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
# if defined( VULKAN_HPP_USE_REFLECT )
|
||||
return this->reflect() == rhs.reflect();
|
||||
# else
|
||||
return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( rayTracingInvocationReorder == rhs.rayTracingInvocationReorder );
|
||||
# endif
|
||||
}
|
||||
|
||||
bool operator!=( PhysicalDeviceRayTracingInvocationReorderFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
StructureType sType = StructureType::ePhysicalDeviceRayTracingInvocationReorderFeaturesNV;
|
||||
void * pNext = {};
|
||||
Bool32 rayTracingInvocationReorder = {};
|
||||
};
|
||||
|
||||
#if 20 <= VULKAN_HPP_CPP_VERSION
|
||||
template <>
|
||||
struct CppType<VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV>
|
||||
{
|
||||
using Type = PhysicalDeviceRayTracingInvocationReorderFeaturesNV;
|
||||
};
|
||||
#endif
|
||||
|
||||
template <>
|
||||
struct CppType<StructureType, StructureType::ePhysicalDeviceRayTracingInvocationReorderFeaturesNV>
|
||||
{
|
||||
using Type = PhysicalDeviceRayTracingInvocationReorderFeaturesNV;
|
||||
};
|
||||
|
||||
// wrapper struct for struct VkPhysicalDeviceRayTracingInvocationReorderPropertiesEXT, see
|
||||
// https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceRayTracingInvocationReorderPropertiesEXT.html
|
||||
|
|
|
|||
|
|
@ -5342,6 +5342,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::eSwapchainPresentScalingCreateInfoKHR : return "SwapchainPresentScalingCreateInfoKHR";
|
||||
case StructureType::eReleaseSwapchainImagesInfoKHR : return "ReleaseSwapchainImagesInfoKHR";
|
||||
case StructureType::ePhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM : return "PhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM";
|
||||
case StructureType::ePhysicalDeviceRayTracingInvocationReorderFeaturesNV : return "PhysicalDeviceRayTracingInvocationReorderFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceRayTracingInvocationReorderPropertiesNV : return "PhysicalDeviceRayTracingInvocationReorderPropertiesNV";
|
||||
case StructureType::ePhysicalDeviceCooperativeVectorFeaturesNV : return "PhysicalDeviceCooperativeVectorFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceCooperativeVectorPropertiesNV : return "PhysicalDeviceCooperativeVectorPropertiesNV";
|
||||
|
|
|
|||
Loading…
Reference in New Issue