Skip to content

Commit

Permalink
build: Update Vulkan-Headers and VUL to 1.3.279
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyg-lunarg committed Mar 1, 2024
1 parent 83bd877 commit db4e627
Show file tree
Hide file tree
Showing 5 changed files with 83 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.278"
"commit": "v1.3.279"
},
{
"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.278",
"commit": "v1.3.279",
"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 @@ -724,6 +724,7 @@ struct DeviceExtensions : public InstanceExtensions {
ExtEnabled vk_qnx_external_memory_screen_buffer{kNotEnabled};
ExtEnabled vk_msft_layered_driver{kNotEnabled};
ExtEnabled vk_nv_descriptor_pool_overallocation{kNotEnabled};
ExtEnabled vk_nv_raw_access_chains{kNotEnabled};
ExtEnabled vk_nv_shader_atomic_float16_vector{kNotEnabled};
ExtEnabled vk_khr_acceleration_structure{kNotEnabled};
ExtEnabled vk_khr_ray_tracing_pipeline{kNotEnabled};
Expand Down Expand Up @@ -1876,6 +1877,7 @@ struct DeviceExtensions : public InstanceExtensions {
{VK_NV_DESCRIPTOR_POOL_OVERALLOCATION_EXTENSION_NAME,
DeviceInfo(&DeviceExtensions::vk_nv_descriptor_pool_overallocation,
{{{&DeviceExtensions::vk_feature_version_1_1, "VK_VERSION_1_1"}}})},
{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_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME,
Expand Down Expand Up @@ -2330,6 +2332,7 @@ static const std::set<std::string> kDeviceExtensionNames = {
#endif // VK_USE_PLATFORM_SCREEN_QNX
VK_MSFT_LAYERED_DRIVER_EXTENSION_NAME,
VK_NV_DESCRIPTOR_POOL_OVERALLOCATION_EXTENSION_NAME,
VK_NV_RAW_ACCESS_CHAINS_EXTENSION_NAME,
VK_NV_SHADER_ATOMIC_FLOAT16_VECTOR_EXTENSION_NAME,
VK_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME,
VK_KHR_RAY_TRACING_PIPELINE_EXTENSION_NAME,
Expand Down
18 changes: 18 additions & 0 deletions utils/generated/vk_safe_struct.h
Original file line number Diff line number Diff line change
Expand Up @@ -18006,6 +18006,24 @@ struct safe_VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV {
return reinterpret_cast<VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV const*>(this);
}
};
struct safe_VkPhysicalDeviceRawAccessChainsFeaturesNV {
VkStructureType sType;
void* pNext{};
VkBool32 shaderRawAccessChains;

safe_VkPhysicalDeviceRawAccessChainsFeaturesNV(const VkPhysicalDeviceRawAccessChainsFeaturesNV* in_struct,
PNextCopyState* copy_state = {}, bool copy_pnext = true);
safe_VkPhysicalDeviceRawAccessChainsFeaturesNV(const safe_VkPhysicalDeviceRawAccessChainsFeaturesNV& copy_src);
safe_VkPhysicalDeviceRawAccessChainsFeaturesNV& operator=(const safe_VkPhysicalDeviceRawAccessChainsFeaturesNV& copy_src);
safe_VkPhysicalDeviceRawAccessChainsFeaturesNV();
~safe_VkPhysicalDeviceRawAccessChainsFeaturesNV();
void initialize(const VkPhysicalDeviceRawAccessChainsFeaturesNV* in_struct, PNextCopyState* copy_state = {});
void initialize(const safe_VkPhysicalDeviceRawAccessChainsFeaturesNV* copy_src, PNextCopyState* copy_state = {});
VkPhysicalDeviceRawAccessChainsFeaturesNV* ptr() { return reinterpret_cast<VkPhysicalDeviceRawAccessChainsFeaturesNV*>(this); }
VkPhysicalDeviceRawAccessChainsFeaturesNV const* ptr() const {
return reinterpret_cast<VkPhysicalDeviceRawAccessChainsFeaturesNV const*>(this);
}
};
struct safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV {
VkStructureType sType;
void* pNext{};
Expand Down
12 changes: 12 additions & 0 deletions utils/generated/vk_safe_struct_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1585,6 +1585,9 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) {
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_COMPUTE_FEATURES_NV:
safe_pNext = new safe_VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV(reinterpret_cast<const VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV *>(pNext), copy_state, false);
break;
case VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_INDIRECT_BUFFER_INFO_NV:
safe_pNext = new safe_VkComputePipelineIndirectBufferInfoNV(reinterpret_cast<const VkComputePipelineIndirectBufferInfoNV *>(pNext), copy_state, false);
break;
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV:
safe_pNext = new safe_VkPhysicalDeviceLinearColorAttachmentFeaturesNV(reinterpret_cast<const VkPhysicalDeviceLinearColorAttachmentFeaturesNV *>(pNext), copy_state, false);
break;
Expand Down Expand Up @@ -1781,6 +1784,9 @@ void *SafePnextCopy(const void *pNext, PNextCopyState* copy_state) {
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV:
safe_pNext = new safe_VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV(reinterpret_cast<const VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV *>(pNext), copy_state, false);
break;
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV:
safe_pNext = new safe_VkPhysicalDeviceRawAccessChainsFeaturesNV(reinterpret_cast<const VkPhysicalDeviceRawAccessChainsFeaturesNV *>(pNext), copy_state, false);
break;
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;
Expand Down Expand Up @@ -3372,6 +3378,9 @@ void FreePnextChain(const void *pNext) {
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_COMPUTE_FEATURES_NV:
delete reinterpret_cast<const safe_VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV *>(header);
break;
case VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_INDIRECT_BUFFER_INFO_NV:
delete reinterpret_cast<const safe_VkComputePipelineIndirectBufferInfoNV *>(header);
break;
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV:
delete reinterpret_cast<const safe_VkPhysicalDeviceLinearColorAttachmentFeaturesNV *>(header);
break;
Expand Down Expand Up @@ -3568,6 +3577,9 @@ void FreePnextChain(const void *pNext) {
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV:
delete reinterpret_cast<const safe_VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV *>(header);
break;
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV:
delete reinterpret_cast<const safe_VkPhysicalDeviceRawAccessChainsFeaturesNV *>(header);
break;
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV:
delete reinterpret_cast<const safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV *>(header);
break;
Expand Down
48 changes: 48 additions & 0 deletions utils/generated/vk_safe_struct_vendor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15264,6 +15264,54 @@ void safe_VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV::initialize(
pNext = SafePnextCopy(copy_src->pNext);
}

safe_VkPhysicalDeviceRawAccessChainsFeaturesNV::safe_VkPhysicalDeviceRawAccessChainsFeaturesNV(
const VkPhysicalDeviceRawAccessChainsFeaturesNV* in_struct, [[maybe_unused]] PNextCopyState* copy_state, bool copy_pnext)
: sType(in_struct->sType), shaderRawAccessChains(in_struct->shaderRawAccessChains) {
if (copy_pnext) {
pNext = SafePnextCopy(in_struct->pNext, copy_state);
}
}

safe_VkPhysicalDeviceRawAccessChainsFeaturesNV::safe_VkPhysicalDeviceRawAccessChainsFeaturesNV()
: sType(VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV), pNext(nullptr), shaderRawAccessChains() {}

safe_VkPhysicalDeviceRawAccessChainsFeaturesNV::safe_VkPhysicalDeviceRawAccessChainsFeaturesNV(
const safe_VkPhysicalDeviceRawAccessChainsFeaturesNV& copy_src) {
sType = copy_src.sType;
shaderRawAccessChains = copy_src.shaderRawAccessChains;
pNext = SafePnextCopy(copy_src.pNext);
}

safe_VkPhysicalDeviceRawAccessChainsFeaturesNV& safe_VkPhysicalDeviceRawAccessChainsFeaturesNV::operator=(
const safe_VkPhysicalDeviceRawAccessChainsFeaturesNV& copy_src) {
if (&copy_src == this) return *this;

FreePnextChain(pNext);

sType = copy_src.sType;
shaderRawAccessChains = copy_src.shaderRawAccessChains;
pNext = SafePnextCopy(copy_src.pNext);

return *this;
}

safe_VkPhysicalDeviceRawAccessChainsFeaturesNV::~safe_VkPhysicalDeviceRawAccessChainsFeaturesNV() { FreePnextChain(pNext); }

void safe_VkPhysicalDeviceRawAccessChainsFeaturesNV::initialize(const VkPhysicalDeviceRawAccessChainsFeaturesNV* in_struct,
[[maybe_unused]] PNextCopyState* copy_state) {
FreePnextChain(pNext);
sType = in_struct->sType;
shaderRawAccessChains = in_struct->shaderRawAccessChains;
pNext = SafePnextCopy(in_struct->pNext, copy_state);
}

void safe_VkPhysicalDeviceRawAccessChainsFeaturesNV::initialize(const safe_VkPhysicalDeviceRawAccessChainsFeaturesNV* copy_src,
[[maybe_unused]] PNextCopyState* copy_state) {
sType = copy_src->sType;
shaderRawAccessChains = copy_src->shaderRawAccessChains;
pNext = SafePnextCopy(copy_src->pNext);
}

safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV::safe_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV(
const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* in_struct, [[maybe_unused]] PNextCopyState* copy_state,
bool copy_pnext)
Expand Down

0 comments on commit db4e627

Please sign in to comment.