summaryrefslogtreecommitdiffhomepage
path: root/include/vulkan/vulkan_static_assertions.hpp
diff options
context:
space:
mode:
authorJon Leech <[email protected]>2024-03-08 05:12:01 -0800
committerJon Leech <[email protected]>2024-03-08 05:16:31 -0800
commit577baa05033cf1d9236b3d078ca4b3269ed87a2b (patch)
treea1631f69424853ae14198bf00e1c861620f1f2de /include/vulkan/vulkan_static_assertions.hpp
parentf030d9dd8ca297b84b10330cee87f72acc3b0aab (diff)
downloadVulkan-Headers-577baa05033cf1d9236b3d078ca4b3269ed87a2b.tar.gz
Vulkan-Headers-577baa05033cf1d9236b3d078ca4b3269ed87a2b.zip
Diffstat (limited to 'include/vulkan/vulkan_static_assertions.hpp')
-rw-r--r--include/vulkan/vulkan_static_assertions.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vulkan/vulkan_static_assertions.hpp b/include/vulkan/vulkan_static_assertions.hpp
index 6c98ba3..693977c 100644
--- a/include/vulkan/vulkan_static_assertions.hpp
+++ b/include/vulkan/vulkan_static_assertions.hpp
@@ -7493,4 +7493,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::PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV>::value,
"PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV is not nothrow_move_constructible!" );
+//=== VK_NV_ray_tracing_validation ===
+
+VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingValidationFeaturesNV ) ==
+ sizeof( VkPhysicalDeviceRayTracingValidationFeaturesNV ),
+ "struct and wrapper have different size!" );
+VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingValidationFeaturesNV>::value,
+ "struct wrapper is not a standard layout!" );
+VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingValidationFeaturesNV>::value,
+ "PhysicalDeviceRayTracingValidationFeaturesNV is not nothrow_move_constructible!" );
+
#endif