diff --git a/scripts/known_good.json b/scripts/known_good.json index 23ec3db9..50f4c951 100755 --- a/scripts/known_good.json +++ b/scripts/known_good.json @@ -6,7 +6,7 @@ "sub_dir": "Vulkan-Headers", "build_dir": "Vulkan-Headers/build", "install_dir": "Vulkan-Headers/build/install", - "commit": "v1.3.279" + "commit": "v1.3.280" }, { "name": "Vulkan-Utility-Libraries", @@ -14,7 +14,7 @@ "sub_dir": "Vulkan-Utility-Libraries", "build_dir": "Vulkan-Utility-Libraries/build", "install_dir": "Vulkan-Utility-Libraries/build/install", - "commit": "v1.3.279", + "commit": "v1.3.280", "deps": [ { "var_name": "VULKAN_HEADERS_INSTALL_DIR", diff --git a/utils/generated/vk_extension_helper.h b/utils/generated/vk_extension_helper.h index 5ac5f927..011a055f 100644 --- a/utils/generated/vk_extension_helper.h +++ b/utils/generated/vk_extension_helper.h @@ -726,6 +726,7 @@ struct DeviceExtensions : public InstanceExtensions { ExtEnabled vk_nv_descriptor_pool_overallocation{kNotEnabled}; ExtEnabled vk_nv_raw_access_chains{kNotEnabled}; ExtEnabled vk_nv_shader_atomic_float16_vector{kNotEnabled}; + ExtEnabled vk_nv_ray_tracing_validation{kNotEnabled}; ExtEnabled vk_khr_acceleration_structure{kNotEnabled}; ExtEnabled vk_khr_ray_tracing_pipeline{kNotEnabled}; ExtEnabled vk_khr_ray_query{kNotEnabled}; @@ -1880,6 +1881,7 @@ struct DeviceExtensions : public InstanceExtensions { {VK_NV_RAW_ACCESS_CHAINS_EXTENSION_NAME, DeviceInfo(&DeviceExtensions::vk_nv_raw_access_chains, {})}, {VK_NV_SHADER_ATOMIC_FLOAT16_VECTOR_EXTENSION_NAME, DeviceInfo(&DeviceExtensions::vk_nv_shader_atomic_float16_vector, {})}, + {VK_NV_RAY_TRACING_VALIDATION_EXTENSION_NAME, DeviceInfo(&DeviceExtensions::vk_nv_ray_tracing_validation, {})}, {VK_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME, DeviceInfo(&DeviceExtensions::vk_khr_acceleration_structure, {{{&DeviceExtensions::vk_feature_version_1_1, "VK_VERSION_1_1"}, @@ -2334,6 +2336,7 @@ static const std::set kDeviceExtensionNames = { VK_NV_DESCRIPTOR_POOL_OVERALLOCATION_EXTENSION_NAME, VK_NV_RAW_ACCESS_CHAINS_EXTENSION_NAME, VK_NV_SHADER_ATOMIC_FLOAT16_VECTOR_EXTENSION_NAME, + VK_NV_RAY_TRACING_VALIDATION_EXTENSION_NAME, VK_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME, VK_KHR_RAY_TRACING_PIPELINE_EXTENSION_NAME, VK_KHR_RAY_QUERY_EXTENSION_NAME, diff --git a/utils/generated/vk_safe_struct.h b/utils/generated/vk_safe_struct.h index bb97b6b8..c37b4314 100644 --- a/utils/generated/vk_safe_struct.h +++ b/utils/generated/vk_safe_struct.h @@ -18046,6 +18046,27 @@ struct safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV { return reinterpret_cast(this); } }; +struct safe_VkPhysicalDeviceRayTracingValidationFeaturesNV { + VkStructureType sType; + void* pNext{}; + VkBool32 rayTracingValidation; + + safe_VkPhysicalDeviceRayTracingValidationFeaturesNV(const VkPhysicalDeviceRayTracingValidationFeaturesNV* in_struct, + PNextCopyState* copy_state = {}, bool copy_pnext = true); + safe_VkPhysicalDeviceRayTracingValidationFeaturesNV(const safe_VkPhysicalDeviceRayTracingValidationFeaturesNV& copy_src); + safe_VkPhysicalDeviceRayTracingValidationFeaturesNV& operator=( + const safe_VkPhysicalDeviceRayTracingValidationFeaturesNV& copy_src); + safe_VkPhysicalDeviceRayTracingValidationFeaturesNV(); + ~safe_VkPhysicalDeviceRayTracingValidationFeaturesNV(); + void initialize(const VkPhysicalDeviceRayTracingValidationFeaturesNV* in_struct, PNextCopyState* copy_state = {}); + void initialize(const safe_VkPhysicalDeviceRayTracingValidationFeaturesNV* copy_src, PNextCopyState* copy_state = {}); + VkPhysicalDeviceRayTracingValidationFeaturesNV* ptr() { + return reinterpret_cast(this); + } + VkPhysicalDeviceRayTracingValidationFeaturesNV const* ptr() const { + return reinterpret_cast(this); + } +}; struct safe_VkAccelerationStructureGeometryTrianglesDataKHR { VkStructureType sType; const void* pNext{}; diff --git a/utils/generated/vk_safe_struct_utils.cpp b/utils/generated/vk_safe_struct_utils.cpp index 4a97249c..97b6c078 100644 --- a/utils/generated/vk_safe_struct_utils.cpp +++ b/utils/generated/vk_safe_struct_utils.cpp @@ -1790,6 +1790,9 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: safe_pNext = new safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV(reinterpret_cast(pNext), copy_state, false); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: + safe_pNext = new safe_VkPhysicalDeviceRayTracingValidationFeaturesNV(reinterpret_cast(pNext), copy_state, false); + break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: safe_pNext = new safe_VkWriteDescriptorSetAccelerationStructureKHR(reinterpret_cast(pNext), copy_state, false); break; @@ -3583,6 +3586,9 @@ void FreePnextChain(const void *pNext) { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: delete reinterpret_cast(header); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: + delete reinterpret_cast(header); + break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: delete reinterpret_cast(header); break; diff --git a/utils/generated/vk_safe_struct_vendor.cpp b/utils/generated/vk_safe_struct_vendor.cpp index 25931a9a..fdb3d000 100644 --- a/utils/generated/vk_safe_struct_vendor.cpp +++ b/utils/generated/vk_safe_struct_vendor.cpp @@ -15365,4 +15365,54 @@ void safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV::initialize( pNext = SafePnextCopy(copy_src->pNext); } +safe_VkPhysicalDeviceRayTracingValidationFeaturesNV::safe_VkPhysicalDeviceRayTracingValidationFeaturesNV( + const VkPhysicalDeviceRayTracingValidationFeaturesNV* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext) + : sType(in_struct->sType), rayTracingValidation(in_struct->rayTracingValidation) { + if (copy_pnext) { + pNext = SafePnextCopy(in_struct->pNext, copy_state); + } +} + +safe_VkPhysicalDeviceRayTracingValidationFeaturesNV::safe_VkPhysicalDeviceRayTracingValidationFeaturesNV() + : sType(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV), pNext(nullptr), rayTracingValidation() {} + +safe_VkPhysicalDeviceRayTracingValidationFeaturesNV::safe_VkPhysicalDeviceRayTracingValidationFeaturesNV( + const safe_VkPhysicalDeviceRayTracingValidationFeaturesNV& copy_src) { + sType = copy_src.sType; + rayTracingValidation = copy_src.rayTracingValidation; + pNext = SafePnextCopy(copy_src.pNext); +} + +safe_VkPhysicalDeviceRayTracingValidationFeaturesNV& safe_VkPhysicalDeviceRayTracingValidationFeaturesNV::operator=( + const safe_VkPhysicalDeviceRayTracingValidationFeaturesNV& copy_src) { + if (©_src == this) return *this; + + FreePnextChain(pNext); + + sType = copy_src.sType; + rayTracingValidation = copy_src.rayTracingValidation; + pNext = SafePnextCopy(copy_src.pNext); + + return *this; +} + +safe_VkPhysicalDeviceRayTracingValidationFeaturesNV::~safe_VkPhysicalDeviceRayTracingValidationFeaturesNV() { + FreePnextChain(pNext); +} + +void safe_VkPhysicalDeviceRayTracingValidationFeaturesNV::initialize( + const VkPhysicalDeviceRayTracingValidationFeaturesNV* in_struct, [[maybe_unused]] PNextCopyState* copy_state) { + FreePnextChain(pNext); + sType = in_struct->sType; + rayTracingValidation = in_struct->rayTracingValidation; + pNext = SafePnextCopy(in_struct->pNext, copy_state); +} + +void safe_VkPhysicalDeviceRayTracingValidationFeaturesNV::initialize( + const safe_VkPhysicalDeviceRayTracingValidationFeaturesNV* copy_src, [[maybe_unused]] PNextCopyState* copy_state) { + sType = copy_src->sType; + rayTracingValidation = copy_src->rayTracingValidation; + pNext = SafePnextCopy(copy_src->pNext); +} + // NOLINTEND