Skip to content

Commit

Permalink
build: Update Vulkan-Headers and VUL to 1.3.280
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyg-lunarg committed Mar 8, 2024
1 parent 1b62c9b commit 56b303e
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/known_good.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"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",
"url": "https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git",
"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",
Expand Down
3 changes: 3 additions & 0 deletions utils/generated/vk_extension_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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"},
Expand Down Expand Up @@ -2334,6 +2336,7 @@ static const std::set<std::string> 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,
Expand Down
21 changes: 21 additions & 0 deletions utils/generated/vk_safe_struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -18046,6 +18046,27 @@ struct safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV {
return reinterpret_cast<VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV const*>(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<VkPhysicalDeviceRayTracingValidationFeaturesNV*>(this);
}
VkPhysicalDeviceRayTracingValidationFeaturesNV const* ptr() const {
return reinterpret_cast<VkPhysicalDeviceRayTracingValidationFeaturesNV const*>(this);
}
};
struct safe_VkAccelerationStructureGeometryTrianglesDataKHR {
VkStructureType sType;
const void* pNext{};
Expand Down
6 changes: 6 additions & 0 deletions utils/generated/vk_safe_struct_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV *>(pNext), copy_state, false);
break;
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV:
safe_pNext = new safe_VkPhysicalDeviceRayTracingValidationFeaturesNV(reinterpret_cast<const VkPhysicalDeviceRayTracingValidationFeaturesNV *>(pNext), copy_state, false);
break;
case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR:
safe_pNext = new safe_VkWriteDescriptorSetAccelerationStructureKHR(reinterpret_cast<const VkWriteDescriptorSetAccelerationStructureKHR *>(pNext), copy_state, false);
break;
Expand Down Expand Up @@ -3583,6 +3586,9 @@ void FreePnextChain(const void *pNext) {
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV:
delete reinterpret_cast<const safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV *>(header);
break;
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV:
delete reinterpret_cast<const safe_VkPhysicalDeviceRayTracingValidationFeaturesNV *>(header);
break;
case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR:
delete reinterpret_cast<const safe_VkWriteDescriptorSetAccelerationStructureKHR *>(header);
break;
Expand Down
50 changes: 50 additions & 0 deletions utils/generated/vk_safe_struct_vendor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 (&copy_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

0 comments on commit 56b303e

Please sign in to comment.