diff --git a/external/Vulkan-Headers b/external/Vulkan-Headers index eaa319dade..f41928bd4a 160000 --- a/external/Vulkan-Headers +++ b/external/Vulkan-Headers @@ -1 +1 @@ -Subproject commit eaa319dade959cb61ed2229c8ea42e307cc8f8b3 +Subproject commit f41928bd4ac3b0451b68898d8e58a6ed5ee99f2b diff --git a/framework/generated/generated_decode_pnext_struct.cpp b/framework/generated/generated_decode_pnext_struct.cpp index 3d8ae6c8b2..8ffeb47b37 100644 --- a/framework/generated/generated_decode_pnext_struct.cpp +++ b/framework/generated/generated_decode_pnext_struct.cpp @@ -1011,6 +1011,26 @@ size_t DecodePNextStruct(const uint8_t* parameter_buffer, size_t buffer_size, P (*pNext) = DecodeAllocator::Allocate>(); bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: (*pNext) = DecodeAllocator::Allocate>(); bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); @@ -2095,6 +2115,14 @@ size_t DecodePNextStruct(const uint8_t* parameter_buffer, size_t buffer_size, P (*pNext) = DecodeAllocator::Allocate>(); bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: (*pNext) = DecodeAllocator::Allocate>(); bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); @@ -2195,10 +2223,26 @@ size_t DecodePNextStruct(const uint8_t* parameter_buffer, size_t buffer_size, P (*pNext) = DecodeAllocator::Allocate>(); bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: (*pNext) = DecodeAllocator::Allocate>(); bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: + (*pNext) = DecodeAllocator::Allocate>(); + bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); + break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: (*pNext) = DecodeAllocator::Allocate>(); bytes_read = (*pNext)->Decode(parameter_buffer, buffer_size); diff --git a/framework/generated/generated_encode_pnext_struct.cpp b/framework/generated/generated_encode_pnext_struct.cpp index 6b09d8bab9..fbba0253fe 100644 --- a/framework/generated/generated_encode_pnext_struct.cpp +++ b/framework/generated/generated_encode_pnext_struct.cpp @@ -780,6 +780,21 @@ void EncodePNextStruct(ParameterEncoder* encoder, const void* value) case VK_STRUCTURE_TYPE_BIND_MEMORY_STATUS_KHR: EncodeStructPtr(encoder, reinterpret_cast(base)); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: EncodeStructPtr(encoder, reinterpret_cast(base)); break; @@ -1593,6 +1608,12 @@ void EncodePNextStruct(ParameterEncoder* encoder, const void* value) case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV: EncodeStructPtr(encoder, reinterpret_cast(base)); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: EncodeStructPtr(encoder, reinterpret_cast(base)); break; @@ -1668,9 +1689,21 @@ void EncodePNextStruct(ParameterEncoder* encoder, const void* value) case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: EncodeStructPtr(encoder, reinterpret_cast(base)); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: EncodeStructPtr(encoder, reinterpret_cast(base)); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: + EncodeStructPtr(encoder, reinterpret_cast(base)); + break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: EncodeStructPtr(encoder, reinterpret_cast(base)); break; diff --git a/framework/generated/generated_vulkan_api_call_encoders.cpp b/framework/generated/generated_vulkan_api_call_encoders.cpp index e50273397d..f0b5e9ec71 100644 --- a/framework/generated/generated_vulkan_api_call_encoders.cpp +++ b/framework/generated/generated_vulkan_api_call_encoders.cpp @@ -12728,7 +12728,7 @@ VKAPI_ATTR void VKAPI_CALL CmdSetRenderingAttachmentLocationsKHR( VKAPI_ATTR void VKAPI_CALL CmdSetRenderingInputAttachmentIndicesKHR( VkCommandBuffer commandBuffer, - const VkRenderingInputAttachmentIndexInfoKHR* pLocationInfo) + const VkRenderingInputAttachmentIndexInfoKHR* pInputAttachmentIndexInfo) { VulkanCaptureManager* manager = VulkanCaptureManager::Get(); GFXRECON_ASSERT(manager != nullptr); @@ -12744,19 +12744,19 @@ VKAPI_ATTR void VKAPI_CALL CmdSetRenderingInputAttachmentIndicesKHR( shared_api_call_lock = VulkanCaptureManager::AcquireSharedApiCallLock(); } - CustomEncoderPreCall::Dispatch(manager, commandBuffer, pLocationInfo); + CustomEncoderPreCall::Dispatch(manager, commandBuffer, pInputAttachmentIndexInfo); auto encoder = manager->BeginTrackedApiCallCapture(format::ApiCallId::ApiCall_vkCmdSetRenderingInputAttachmentIndicesKHR); if (encoder) { encoder->EncodeVulkanHandleValue(commandBuffer); - EncodeStructPtr(encoder, pLocationInfo); + EncodeStructPtr(encoder, pInputAttachmentIndexInfo); manager->EndCommandApiCallCapture(commandBuffer); } - vulkan_wrappers::GetDeviceTable(commandBuffer)->CmdSetRenderingInputAttachmentIndicesKHR(commandBuffer, pLocationInfo); + vulkan_wrappers::GetDeviceTable(commandBuffer)->CmdSetRenderingInputAttachmentIndicesKHR(commandBuffer, pInputAttachmentIndexInfo); - CustomEncoderPostCall::Dispatch(manager, commandBuffer, pLocationInfo); + CustomEncoderPostCall::Dispatch(manager, commandBuffer, pInputAttachmentIndexInfo); } VKAPI_ATTR VkResult VKAPI_CALL WaitForPresentKHR( diff --git a/framework/generated/generated_vulkan_api_call_encoders.h b/framework/generated/generated_vulkan_api_call_encoders.h index e3716c918c..b78a615ef2 100644 --- a/framework/generated/generated_vulkan_api_call_encoders.h +++ b/framework/generated/generated_vulkan_api_call_encoders.h @@ -1753,7 +1753,7 @@ VKAPI_ATTR void VKAPI_CALL CmdSetRenderingAttachmentLocationsKHR( VKAPI_ATTR void VKAPI_CALL CmdSetRenderingInputAttachmentIndicesKHR( VkCommandBuffer commandBuffer, - const VkRenderingInputAttachmentIndexInfoKHR* pLocationInfo); + const VkRenderingInputAttachmentIndexInfoKHR* pInputAttachmentIndexInfo); VKAPI_ATTR VkResult VKAPI_CALL WaitForPresentKHR( VkDevice device, diff --git a/framework/generated/generated_vulkan_consumer.h b/framework/generated/generated_vulkan_consumer.h index f05949be63..212744f738 100644 --- a/framework/generated/generated_vulkan_consumer.h +++ b/framework/generated/generated_vulkan_consumer.h @@ -2226,7 +2226,7 @@ class VulkanConsumer : public VulkanConsumerBase virtual void Process_vkCmdSetRenderingInputAttachmentIndicesKHR( const ApiCallInfo& call_info, format::HandleId commandBuffer, - StructPointerDecoder* pLocationInfo) {} + StructPointerDecoder* pInputAttachmentIndexInfo) {} virtual void Process_vkWaitForPresentKHR( const ApiCallInfo& call_info, diff --git a/framework/generated/generated_vulkan_cpp_consumer.cpp b/framework/generated/generated_vulkan_cpp_consumer.cpp index 6ad12368ed..7c3c659f82 100644 --- a/framework/generated/generated_vulkan_cpp_consumer.cpp +++ b/framework/generated/generated_vulkan_cpp_consumer.cpp @@ -7480,21 +7480,21 @@ void VulkanCppConsumer::Process_vkCmdSetRenderingAttachmentLocationsKHR( void VulkanCppConsumer::Process_vkCmdSetRenderingInputAttachmentIndicesKHR( const ApiCallInfo& call_info, format::HandleId commandBuffer, - StructPointerDecoder* pLocationInfo) + StructPointerDecoder* pInputAttachmentIndexInfo) { FILE* file = GetFrameFile(); fprintf(file, "\t{\n"); - std::stringstream stream_plocation_info; - std::string plocation_info_struct = GenerateStruct_VkRenderingInputAttachmentIndexInfoKHR(stream_plocation_info, - pLocationInfo->GetPointer(), - pLocationInfo->GetMetaStructPointer(), - *this); - fprintf(file, "%s", stream_plocation_info.str().c_str()); + std::stringstream stream_pinput_attachment_index_info; + std::string pinput_attachment_index_info_struct = GenerateStruct_VkRenderingInputAttachmentIndexInfoKHR(stream_pinput_attachment_index_info, + pInputAttachmentIndexInfo->GetPointer(), + pInputAttachmentIndexInfo->GetMetaStructPointer(), + *this); + fprintf(file, "%s", stream_pinput_attachment_index_info.str().c_str()); pfn_loader_.AddMethodName("vkCmdSetRenderingInputAttachmentIndicesKHR"); fprintf(file, "\t\tloaded_vkCmdSetRenderingInputAttachmentIndicesKHR(%s, &%s);\n", this->GetHandle(commandBuffer).c_str(), - plocation_info_struct.c_str()); + pinput_attachment_index_info_struct.c_str()); fprintf(file, "\t}\n"); Post_APICall(format::ApiCallId::ApiCall_vkCmdSetRenderingInputAttachmentIndicesKHR); } diff --git a/framework/generated/generated_vulkan_cpp_consumer.h b/framework/generated/generated_vulkan_cpp_consumer.h index 206afec837..3f97a31d5e 100644 --- a/framework/generated/generated_vulkan_cpp_consumer.h +++ b/framework/generated/generated_vulkan_cpp_consumer.h @@ -2182,7 +2182,7 @@ class VulkanCppConsumer : public VulkanCppConsumerBase virtual void Process_vkCmdSetRenderingInputAttachmentIndicesKHR( const ApiCallInfo& call_info, format::HandleId commandBuffer, - StructPointerDecoder* pLocationInfo) override; + StructPointerDecoder* pInputAttachmentIndexInfo) override; virtual void Process_vkWaitForPresentKHR( const ApiCallInfo& call_info, VkResult returnValue, diff --git a/framework/generated/generated_vulkan_cpp_consumer_extension.cpp b/framework/generated/generated_vulkan_cpp_consumer_extension.cpp index d72df40d01..d816b45324 100644 --- a/framework/generated/generated_vulkan_cpp_consumer_extension.cpp +++ b/framework/generated/generated_vulkan_cpp_consumer_extension.cpp @@ -2393,6 +2393,56 @@ std::string GenerateExtension(std::ostream& out, const void* struct_info, void* break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR(out, + casted_struct, + decoded_struct, + consumer); + + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceLayeredApiPropertiesListKHR(out, + casted_struct, + decoded_struct, + consumer); + + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR(out, + casted_struct, + decoded_struct, + consumer); + + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceMaintenance7FeaturesKHR(out, + casted_struct, + decoded_struct, + consumer); + + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceMaintenance7PropertiesKHR(out, + casted_struct, + decoded_struct, + consumer); + + break; + } case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: { auto casted_struct = reinterpret_cast(struct_info); auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); @@ -5103,6 +5153,26 @@ std::string GenerateExtension(std::ostream& out, const void* struct_info, void* break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT(out, + casted_struct, + decoded_struct, + consumer); + + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT(out, + casted_struct, + decoded_struct, + consumer); + + break; + } case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: { auto casted_struct = reinterpret_cast(struct_info); auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); @@ -5353,6 +5423,16 @@ std::string GenerateExtension(std::ostream& out, const void* struct_info, void* break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT(out, + casted_struct, + decoded_struct, + consumer); + + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: { auto casted_struct = reinterpret_cast(struct_info); auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); @@ -5363,6 +5443,36 @@ std::string GenerateExtension(std::ostream& out, const void* struct_info, void* break; } + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkImageAlignmentControlCreateInfoMESA(out, + casted_struct, + decoded_struct, + consumer); + + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceImageAlignmentControlFeaturesMESA(out, + casted_struct, + decoded_struct, + consumer); + + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: { + auto casted_struct = reinterpret_cast(struct_info); + auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); + next_var_name = "&" + GenerateStruct_VkPhysicalDeviceImageAlignmentControlPropertiesMESA(out, + casted_struct, + decoded_struct, + consumer); + + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR: { auto casted_struct = reinterpret_cast(struct_info); auto decoded_struct = reinterpret_cast(pnext_meta_data->GetMetaStructPointer()); diff --git a/framework/generated/generated_vulkan_cpp_structs.cpp b/framework/generated/generated_vulkan_cpp_structs.cpp index 1bbfeacdbd..ee863e2827 100644 --- a/framework/generated/generated_vulkan_cpp_structs.cpp +++ b/framework/generated/generated_vulkan_cpp_structs.cpp @@ -12440,6 +12440,121 @@ std::string GenerateStruct_VkSetDescriptorBufferOffsetsInfoEXT(std::ostream &out } +std::string GenerateStruct_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR(std::ostream &out, const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->shaderRelaxedExtendedInstruction << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR"); + out << "\t\t" << "VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + +std::string GenerateStruct_VkPhysicalDeviceLayeredApiPropertiesKHR(std::ostream &out, const VkPhysicalDeviceLayeredApiPropertiesKHR* structInfo, Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->vendorID << "," << std::endl; + struct_body << "\t\t\t" << structInfo->deviceID << "," << std::endl; + struct_body << "\t\t\t" << "VkPhysicalDeviceLayeredApiKHR(" << structInfo->layeredAPI << ")" << "," << std::endl; + struct_body << "\t\t\t" << VulkanCppConsumerBase::ToEscape(structInfo->deviceName) << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLayeredApiPropertiesKHR"); + out << "\t\t" << "VkPhysicalDeviceLayeredApiPropertiesKHR " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + +std::string GenerateStruct_VkPhysicalDeviceLayeredApiPropertiesListKHR(std::ostream &out, const VkPhysicalDeviceLayeredApiPropertiesListKHR* structInfo, Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + std::string playered_apis_array = "NULL"; + if (structInfo->pLayeredApis != NULL) { + playered_apis_array = "pLayeredApis_" + std::to_string(consumer.GetNextId()); + std::string playered_apis_names; + for (uint32_t idx = 0; idx < structInfo->layeredApiCount; idx++) { + std::string variable_name = "NULL"; + if (structInfo->pLayeredApis + idx != NULL) { + variable_name = GenerateStruct_VkPhysicalDeviceLayeredApiPropertiesKHR(out, + structInfo->pLayeredApis + idx, + metaInfo->pLayeredApis->GetMetaStructPointer() + idx, + consumer); + } + playered_apis_names += variable_name + ", "; + } + out << "\t\t" << "VkPhysicalDeviceLayeredApiPropertiesKHR " << playered_apis_array << "[] = {" << playered_apis_names << "};" << std::endl; + } + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->layeredApiCount << "," << std::endl; + struct_body << "\t\t\t" << playered_apis_array << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLayeredApiPropertiesListKHR"); + out << "\t\t" << "VkPhysicalDeviceLayeredApiPropertiesListKHR " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + +std::string GenerateStruct_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR(std::ostream &out, const VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* structInfo, Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + std::string properties_info_var = GenerateStruct_VkPhysicalDeviceProperties2(out, + &structInfo->properties, + metaInfo->properties, + consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << properties_info_var << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLayeredApiVulkanPropertiesKHR"); + out << "\t\t" << "VkPhysicalDeviceLayeredApiVulkanPropertiesKHR " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + +std::string GenerateStruct_VkPhysicalDeviceMaintenance7FeaturesKHR(std::ostream &out, const VkPhysicalDeviceMaintenance7FeaturesKHR* structInfo, Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->maintenance7 << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMaintenance7FeaturesKHR"); + out << "\t\t" << "VkPhysicalDeviceMaintenance7FeaturesKHR " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + +std::string GenerateStruct_VkPhysicalDeviceMaintenance7PropertiesKHR(std::ostream &out, const VkPhysicalDeviceMaintenance7PropertiesKHR* structInfo, Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->robustFragmentShadingRateAttachmentAccess << "," << std::endl; + struct_body << "\t\t\t" << structInfo->separateDepthStencilAttachmentAccess << "," << std::endl; + struct_body << "\t\t\t" << structInfo->maxDescriptorSetTotalUniformBuffersDynamic << "," << std::endl; + struct_body << "\t\t\t" << structInfo->maxDescriptorSetTotalStorageBuffersDynamic << "," << std::endl; + struct_body << "\t\t\t" << structInfo->maxDescriptorSetTotalBuffersDynamic << "," << std::endl; + struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic << "," << std::endl; + struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic << "," << std::endl; + struct_body << "\t\t\t" << structInfo->maxDescriptorSetUpdateAfterBindTotalBuffersDynamic << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceMaintenance7PropertiesKHR"); + out << "\t\t" << "VkPhysicalDeviceMaintenance7PropertiesKHR " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + std::string GenerateStruct_VkDebugReportCallbackCreateInfoEXT(std::ostream &out, const VkDebugReportCallbackCreateInfoEXT* structInfo, Decoded_VkDebugReportCallbackCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); @@ -19841,6 +19956,34 @@ std::string GenerateStruct_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesN } +std::string GenerateStruct_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT(std::ostream &out, const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->legacyVertexAttributes << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLegacyVertexAttributesFeaturesEXT"); + out << "\t\t" << "VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + +std::string GenerateStruct_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT(std::ostream &out, const VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->nativeUnalignedPerformance << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceLegacyVertexAttributesPropertiesEXT"); + out << "\t\t" << "VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + std::string GenerateStruct_VkLayerSettingEXT(std::ostream &out, const VkLayerSettingEXT* structInfo, Decoded_VkLayerSettingEXT* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pvalues_array = "NULL"; @@ -20379,6 +20522,20 @@ std::string GenerateStruct_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV(s } +std::string GenerateStruct_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT(std::ostream &out, const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->shaderReplicatedComposites << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceShaderReplicatedCompositesFeaturesEXT"); + out << "\t\t" << "VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + std::string GenerateStruct_VkPhysicalDeviceRayTracingValidationFeaturesNV(std::ostream &out, const VkPhysicalDeviceRayTracingValidationFeaturesNV* structInfo, Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); @@ -20393,6 +20550,48 @@ std::string GenerateStruct_VkPhysicalDeviceRayTracingValidationFeaturesNV(std::o } +std::string GenerateStruct_VkImageAlignmentControlCreateInfoMESA(std::ostream &out, const VkImageAlignmentControlCreateInfoMESA* structInfo, Decoded_VkImageAlignmentControlCreateInfoMESA* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->maximumRequestedAlignment << ","; + std::string variable_name = consumer.AddStruct(struct_body, "imageAlignmentControlCreateInfoMESA"); + out << "\t\t" << "VkImageAlignmentControlCreateInfoMESA " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + +std::string GenerateStruct_VkPhysicalDeviceImageAlignmentControlFeaturesMESA(std::ostream &out, const VkPhysicalDeviceImageAlignmentControlFeaturesMESA* structInfo, Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->imageAlignmentControl << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageAlignmentControlFeaturesMESA"); + out << "\t\t" << "VkPhysicalDeviceImageAlignmentControlFeaturesMESA " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + +std::string GenerateStruct_VkPhysicalDeviceImageAlignmentControlPropertiesMESA(std::ostream &out, const VkPhysicalDeviceImageAlignmentControlPropertiesMESA* structInfo, Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA* metaInfo, VulkanCppConsumerBase &consumer){ + std::stringstream struct_body; + std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); + struct_body << "\t" << "VkStructureType(" << structInfo->sType << ")" << "," << std::endl; + struct_body << "\t\t\t" << pnext_name << "," << std::endl; + struct_body << "\t\t\t" << structInfo->supportedImageAlignmentMask << ","; + std::string variable_name = consumer.AddStruct(struct_body, "physicalDeviceImageAlignmentControlPropertiesMESA"); + out << "\t\t" << "VkPhysicalDeviceImageAlignmentControlPropertiesMESA " << variable_name << " {" << std::endl; + out << "\t\t" << struct_body.str() << std::endl; + out << "\t\t" << "};" << std::endl; + return variable_name; +} + + std::string GenerateStruct_VkAccelerationStructureBuildGeometryInfoKHR(std::ostream &out, const VkAccelerationStructureBuildGeometryInfoKHR* structInfo, Decoded_VkAccelerationStructureBuildGeometryInfoKHR* metaInfo, VulkanCppConsumerBase &consumer){ std::stringstream struct_body; std::string pnext_name = GenerateExtension(out, structInfo->pNext, metaInfo->pNext, consumer); diff --git a/framework/generated/generated_vulkan_cpp_structs.h b/framework/generated/generated_vulkan_cpp_structs.h index 56ad18a041..582c014269 100644 --- a/framework/generated/generated_vulkan_cpp_structs.h +++ b/framework/generated/generated_vulkan_cpp_structs.h @@ -1171,6 +1171,18 @@ std::string GenerateStruct_VkPushDescriptorSetInfoKHR(std::ostream &out, const V std::string GenerateStruct_VkSetDescriptorBufferOffsetsInfoEXT(std::ostream &out, const VkSetDescriptorBufferOffsetsInfoEXT* structInfo, Decoded_VkSetDescriptorBufferOffsetsInfoEXT* metaInfo, VulkanCppConsumerBase &consumer); +std::string GenerateStruct_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR(std::ostream &out, const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* structInfo, Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer); + +std::string GenerateStruct_VkPhysicalDeviceLayeredApiPropertiesKHR(std::ostream &out, const VkPhysicalDeviceLayeredApiPropertiesKHR* structInfo, Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer); + +std::string GenerateStruct_VkPhysicalDeviceLayeredApiPropertiesListKHR(std::ostream &out, const VkPhysicalDeviceLayeredApiPropertiesListKHR* structInfo, Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR* metaInfo, VulkanCppConsumerBase &consumer); + +std::string GenerateStruct_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR(std::ostream &out, const VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* structInfo, Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer); + +std::string GenerateStruct_VkPhysicalDeviceMaintenance7FeaturesKHR(std::ostream &out, const VkPhysicalDeviceMaintenance7FeaturesKHR* structInfo, Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR* metaInfo, VulkanCppConsumerBase &consumer); + +std::string GenerateStruct_VkPhysicalDeviceMaintenance7PropertiesKHR(std::ostream &out, const VkPhysicalDeviceMaintenance7PropertiesKHR* structInfo, Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR* metaInfo, VulkanCppConsumerBase &consumer); + std::string GenerateStruct_VkDebugReportCallbackCreateInfoEXT(std::ostream &out, const VkDebugReportCallbackCreateInfoEXT* structInfo, Decoded_VkDebugReportCallbackCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer); std::string GenerateStruct_VkPipelineRasterizationStateRasterizationOrderAMD(std::ostream &out, const VkPipelineRasterizationStateRasterizationOrderAMD* structInfo, Decoded_VkPipelineRasterizationStateRasterizationOrderAMD* metaInfo, VulkanCppConsumerBase &consumer); @@ -1967,6 +1979,10 @@ std::string GenerateStruct_VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV( std::string GenerateStruct_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV(std::ostream &out, const VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* structInfo, Decoded_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* metaInfo, VulkanCppConsumerBase &consumer); +std::string GenerateStruct_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT(std::ostream &out, const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer); + +std::string GenerateStruct_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT(std::ostream &out, const VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* structInfo, Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* metaInfo, VulkanCppConsumerBase &consumer); + std::string GenerateStruct_VkLayerSettingEXT(std::ostream &out, const VkLayerSettingEXT* structInfo, Decoded_VkLayerSettingEXT* metaInfo, VulkanCppConsumerBase &consumer); std::string GenerateStruct_VkLayerSettingsCreateInfoEXT(std::ostream &out, const VkLayerSettingsCreateInfoEXT* structInfo, Decoded_VkLayerSettingsCreateInfoEXT* metaInfo, VulkanCppConsumerBase &consumer); @@ -2031,8 +2047,16 @@ std::string GenerateStruct_VkPhysicalDeviceRawAccessChainsFeaturesNV(std::ostrea std::string GenerateStruct_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV(std::ostream &out, const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* structInfo, Decoded_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer); +std::string GenerateStruct_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT(std::ostream &out, const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* structInfo, Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* metaInfo, VulkanCppConsumerBase &consumer); + std::string GenerateStruct_VkPhysicalDeviceRayTracingValidationFeaturesNV(std::ostream &out, const VkPhysicalDeviceRayTracingValidationFeaturesNV* structInfo, Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV* metaInfo, VulkanCppConsumerBase &consumer); +std::string GenerateStruct_VkImageAlignmentControlCreateInfoMESA(std::ostream &out, const VkImageAlignmentControlCreateInfoMESA* structInfo, Decoded_VkImageAlignmentControlCreateInfoMESA* metaInfo, VulkanCppConsumerBase &consumer); + +std::string GenerateStruct_VkPhysicalDeviceImageAlignmentControlFeaturesMESA(std::ostream &out, const VkPhysicalDeviceImageAlignmentControlFeaturesMESA* structInfo, Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA* metaInfo, VulkanCppConsumerBase &consumer); + +std::string GenerateStruct_VkPhysicalDeviceImageAlignmentControlPropertiesMESA(std::ostream &out, const VkPhysicalDeviceImageAlignmentControlPropertiesMESA* structInfo, Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA* metaInfo, VulkanCppConsumerBase &consumer); + std::string GenerateStruct_VkAccelerationStructureBuildGeometryInfoKHR(std::ostream &out, const VkAccelerationStructureBuildGeometryInfoKHR* structInfo, Decoded_VkAccelerationStructureBuildGeometryInfoKHR* metaInfo, VulkanCppConsumerBase &consumer); std::string GenerateStruct_VkAccelerationStructureBuildRangeInfoKHR(std::ostream &out, const VkAccelerationStructureBuildRangeInfoKHR* structInfo, Decoded_VkAccelerationStructureBuildRangeInfoKHR* metaInfo, VulkanCppConsumerBase &consumer); diff --git a/framework/generated/generated_vulkan_decoder.cpp b/framework/generated/generated_vulkan_decoder.cpp index a187845909..845e62c46c 100644 --- a/framework/generated/generated_vulkan_decoder.cpp +++ b/framework/generated/generated_vulkan_decoder.cpp @@ -6911,14 +6911,14 @@ size_t VulkanDecoder::Decode_vkCmdSetRenderingInputAttachmentIndicesKHR(const Ap size_t bytes_read = 0; format::HandleId commandBuffer; - StructPointerDecoder pLocationInfo; + StructPointerDecoder pInputAttachmentIndexInfo; bytes_read += ValueDecoder::DecodeHandleIdValue((parameter_buffer + bytes_read), (buffer_size - bytes_read), &commandBuffer); - bytes_read += pLocationInfo.Decode((parameter_buffer + bytes_read), (buffer_size - bytes_read)); + bytes_read += pInputAttachmentIndexInfo.Decode((parameter_buffer + bytes_read), (buffer_size - bytes_read)); for (auto consumer : GetConsumers()) { - consumer->Process_vkCmdSetRenderingInputAttachmentIndicesKHR(call_info, commandBuffer, &pLocationInfo); + consumer->Process_vkCmdSetRenderingInputAttachmentIndicesKHR(call_info, commandBuffer, &pInputAttachmentIndexInfo); } return bytes_read; diff --git a/framework/generated/generated_vulkan_enum_to_json.cpp b/framework/generated/generated_vulkan_enum_to_json.cpp index 8d623a2cd1..e5262c42f8 100644 --- a/framework/generated/generated_vulkan_enum_to_json.cpp +++ b/framework/generated/generated_vulkan_enum_to_json.cpp @@ -3297,8 +3297,11 @@ void FieldToJson(nlohmann::ordered_json& jdata, const VkDriverId& value, const J case VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA: jdata = "VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA"; break; - case VK_DRIVER_ID_MESA_AGXV: - jdata = "VK_DRIVER_ID_MESA_AGXV"; + case VK_DRIVER_ID_MESA_HONEYKRISP: + jdata = "VK_DRIVER_ID_MESA_HONEYKRISP"; + break; + case VK_DRIVER_ID_RESERVED_27: + jdata = "VK_DRIVER_ID_RESERVED_27"; break; default: jdata = to_hex_fixed_width(value); @@ -6450,6 +6453,30 @@ void FieldToJson(nlohmann::ordered_json& jdata, const VkPerformanceValueTypeINTE } } +void FieldToJson(nlohmann::ordered_json& jdata, const VkPhysicalDeviceLayeredApiKHR& value, const JsonOptions& options) +{ + switch (value) { + case VK_PHYSICAL_DEVICE_LAYERED_API_VULKAN_KHR: + jdata = "VK_PHYSICAL_DEVICE_LAYERED_API_VULKAN_KHR"; + break; + case VK_PHYSICAL_DEVICE_LAYERED_API_D3D12_KHR: + jdata = "VK_PHYSICAL_DEVICE_LAYERED_API_D3D12_KHR"; + break; + case VK_PHYSICAL_DEVICE_LAYERED_API_METAL_KHR: + jdata = "VK_PHYSICAL_DEVICE_LAYERED_API_METAL_KHR"; + break; + case VK_PHYSICAL_DEVICE_LAYERED_API_OPENGL_KHR: + jdata = "VK_PHYSICAL_DEVICE_LAYERED_API_OPENGL_KHR"; + break; + case VK_PHYSICAL_DEVICE_LAYERED_API_OPENGLES_KHR: + jdata = "VK_PHYSICAL_DEVICE_LAYERED_API_OPENGLES_KHR"; + break; + default: + jdata = to_hex_fixed_width(value); + break; + } +} + void FieldToJson(VkPhysicalDeviceSchedulingControlsFlagBitsARM_t, nlohmann::ordered_json& jdata, const VkPhysicalDeviceSchedulingControlsFlagBitsARM& value, const JsonOptions& options) { switch (value) { @@ -7568,12 +7595,12 @@ void FieldToJson(nlohmann::ordered_json& jdata, const VkRenderingFlagBits& value case VK_RENDERING_RESUMING_BIT: jdata = "VK_RENDERING_RESUMING_BIT"; break; - case VK_RENDERING_CONTENTS_INLINE_BIT_EXT: - jdata = "VK_RENDERING_CONTENTS_INLINE_BIT_EXT"; - break; case VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT: jdata = "VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT"; break; + case VK_RENDERING_CONTENTS_INLINE_BIT_KHR: + jdata = "VK_RENDERING_CONTENTS_INLINE_BIT_KHR"; + break; default: jdata = to_hex_fixed_width(value); break; @@ -10768,6 +10795,12 @@ void FieldToJson(nlohmann::ordered_json& jdata, const VkStructureType& value, co case VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT: jdata = "VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT"; break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT"; + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT"; + break; case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: jdata = "VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT"; break; @@ -10960,12 +10993,42 @@ void FieldToJson(nlohmann::ordered_json& jdata, const VkStructureType& value, co case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV: jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV"; break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR"; + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR"; + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR"; + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR"; + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR"; + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR"; + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV"; break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT"; + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV"; break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA"; + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: + jdata = "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA"; + break; + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: + jdata = "VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA"; + break; default: jdata = to_hex_fixed_width(value); break; @@ -11035,8 +11098,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const VkSubpassContents& value, case VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS: jdata = "VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS"; break; - case VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT: - jdata = "VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT"; + case VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR: + jdata = "VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR"; break; default: jdata = to_hex_fixed_width(value); @@ -11374,6 +11437,9 @@ void FieldToJson(nlohmann::ordered_json& jdata, const VkValidationFeatureEnableE void FieldToJson(nlohmann::ordered_json& jdata, const VkVendorId& value, const JsonOptions& options) { switch (value) { + case VK_VENDOR_ID_KHRONOS: + jdata = "VK_VENDOR_ID_KHRONOS"; + break; case VK_VENDOR_ID_VIV: jdata = "VK_VENDOR_ID_VIV"; break; @@ -14971,10 +15037,10 @@ void FieldToJson(VkRenderingFlags_t, nlohmann::ordered_json& jdata, const VkFlag return std::string("VK_RENDERING_SUSPENDING_BIT"); case VK_RENDERING_RESUMING_BIT: return std::string("VK_RENDERING_RESUMING_BIT"); - case VK_RENDERING_CONTENTS_INLINE_BIT_EXT: - return std::string("VK_RENDERING_CONTENTS_INLINE_BIT_EXT"); case VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT: return std::string("VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT"); + case VK_RENDERING_CONTENTS_INLINE_BIT_KHR: + return std::string("VK_RENDERING_CONTENTS_INLINE_BIT_KHR"); } return to_hex_fixed_width(flags); }); diff --git a/framework/generated/generated_vulkan_enum_to_json.h b/framework/generated/generated_vulkan_enum_to_json.h index b6fc3dc769..81d21bfc30 100644 --- a/framework/generated/generated_vulkan_enum_to_json.h +++ b/framework/generated/generated_vulkan_enum_to_json.h @@ -413,6 +413,7 @@ void FieldToJson(nlohmann::ordered_json& jdata, const VkPerformanceCounterUnitKH void FieldToJson(nlohmann::ordered_json& jdata, const VkPerformanceOverrideTypeINTEL& value, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const VkPerformanceParameterTypeINTEL& value, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const VkPerformanceValueTypeINTEL& value, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const VkPhysicalDeviceLayeredApiKHR& value, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(VkPhysicalDeviceSchedulingControlsFlagBitsARM_t, nlohmann::ordered_json& jdata, const VkPhysicalDeviceSchedulingControlsFlagBitsARM& value, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const VkPhysicalDeviceType& value, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const VkPipelineBindPoint& value, const util::JsonOptions& options = util::JsonOptions()); diff --git a/framework/generated/generated_vulkan_enum_to_string.cpp b/framework/generated/generated_vulkan_enum_to_string.cpp index 571df9bf51..eb500a0ecf 100644 --- a/framework/generated/generated_vulkan_enum_to_string.cpp +++ b/framework/generated/generated_vulkan_enum_to_string.cpp @@ -3198,6 +3198,8 @@ template <> std::string ToString(const VkStructureType& value, case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT"; case VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT: return "VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT"; case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: return "VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM"; @@ -3262,8 +3264,18 @@ template <> std::string ToString(const VkStructureType& value, case VK_STRUCTURE_TYPE_BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT: return "VK_STRUCTURE_TYPE_BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT"; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA"; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: return "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA"; + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: return "VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA"; default: break; } return "Unhandled VkStructureType"; @@ -3274,7 +3286,7 @@ template <> std::string ToString(const VkSubpassContents& val switch (value) { case VK_SUBPASS_CONTENTS_INLINE: return "VK_SUBPASS_CONTENTS_INLINE"; case VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS: return "VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS"; - case VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT: return "VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_EXT"; + case VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR: return "VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR"; default: break; } return "Unhandled VkSubpassContents"; @@ -3317,6 +3329,7 @@ template <> std::string ToString(const VkSystemAllocati template <> std::string ToString(const VkVendorId& value, ToStringFlags, uint32_t, uint32_t) { switch (value) { + case VK_VENDOR_ID_KHRONOS: return "VK_VENDOR_ID_KHRONOS"; case VK_VENDOR_ID_VIV: return "VK_VENDOR_ID_VIV"; case VK_VENDOR_ID_VSI: return "VK_VENDOR_ID_VSI"; case VK_VENDOR_ID_KAZAN: return "VK_VENDOR_ID_KAZAN"; @@ -3641,7 +3654,8 @@ template <> std::string ToString(const VkDriverId& value, ToStringFl case VK_DRIVER_ID_MESA_DOZEN: return "VK_DRIVER_ID_MESA_DOZEN"; case VK_DRIVER_ID_MESA_NVK: return "VK_DRIVER_ID_MESA_NVK"; case VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA: return "VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA"; - case VK_DRIVER_ID_MESA_AGXV: return "VK_DRIVER_ID_MESA_AGXV"; + case VK_DRIVER_ID_MESA_HONEYKRISP: return "VK_DRIVER_ID_MESA_HONEYKRISP"; + case VK_DRIVER_ID_RESERVED_27: return "VK_DRIVER_ID_RESERVED_27"; default: break; } return "Unhandled VkDriverId"; @@ -3959,8 +3973,8 @@ template <> std::string ToString(const VkRenderingFlagBits& case VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT: return "VK_RENDERING_CONTENTS_SECONDARY_COMMAND_BUFFERS_BIT"; case VK_RENDERING_SUSPENDING_BIT: return "VK_RENDERING_SUSPENDING_BIT"; case VK_RENDERING_RESUMING_BIT: return "VK_RENDERING_RESUMING_BIT"; - case VK_RENDERING_CONTENTS_INLINE_BIT_EXT: return "VK_RENDERING_CONTENTS_INLINE_BIT_EXT"; case VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT: return "VK_RENDERING_ENABLE_LEGACY_DITHERING_BIT_EXT"; + case VK_RENDERING_CONTENTS_INLINE_BIT_KHR: return "VK_RENDERING_CONTENTS_INLINE_BIT_KHR"; default: break; } return "Unhandled VkRenderingFlagBits"; @@ -4878,6 +4892,19 @@ template <> std::string ToString(const VkTimeDomainKHR& value, return "Unhandled VkTimeDomainKHR"; } +template <> std::string ToString(const VkPhysicalDeviceLayeredApiKHR& value, ToStringFlags, uint32_t, uint32_t) +{ + switch (value) { + case VK_PHYSICAL_DEVICE_LAYERED_API_VULKAN_KHR: return "VK_PHYSICAL_DEVICE_LAYERED_API_VULKAN_KHR"; + case VK_PHYSICAL_DEVICE_LAYERED_API_D3D12_KHR: return "VK_PHYSICAL_DEVICE_LAYERED_API_D3D12_KHR"; + case VK_PHYSICAL_DEVICE_LAYERED_API_METAL_KHR: return "VK_PHYSICAL_DEVICE_LAYERED_API_METAL_KHR"; + case VK_PHYSICAL_DEVICE_LAYERED_API_OPENGL_KHR: return "VK_PHYSICAL_DEVICE_LAYERED_API_OPENGL_KHR"; + case VK_PHYSICAL_DEVICE_LAYERED_API_OPENGLES_KHR: return "VK_PHYSICAL_DEVICE_LAYERED_API_OPENGLES_KHR"; + default: break; + } + return "Unhandled VkPhysicalDeviceLayeredApiKHR"; +} + template <> std::string ToString(const VkDebugReportFlagBitsEXT& value, ToStringFlags, uint32_t, uint32_t) { switch (value) { diff --git a/framework/generated/generated_vulkan_enum_to_string.h b/framework/generated/generated_vulkan_enum_to_string.h index 52520b2dbe..8aade1e37d 100644 --- a/framework/generated/generated_vulkan_enum_to_string.h +++ b/framework/generated/generated_vulkan_enum_to_string.h @@ -332,6 +332,7 @@ template <> std::string ToString(const VkComponentTypeKHR& v template <> std::string ToString(const VkScopeKHR& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize); template <> std::string ToString(const VkLineRasterizationModeKHR& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize); template <> std::string ToString(const VkTimeDomainKHR& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize); +template <> std::string ToString(const VkPhysicalDeviceLayeredApiKHR& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize); template <> std::string ToString(const VkDebugReportFlagBitsEXT& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize); template <> std::string ToString(VkFlags vkFlags, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize); template <> std::string ToString(const VkDebugReportObjectTypeEXT& value, ToStringFlags toStringFlags, uint32_t tabCount, uint32_t tabSize); diff --git a/framework/generated/generated_vulkan_feature_util.cpp b/framework/generated/generated_vulkan_feature_util.cpp index 761361d110..a11f341d95 100644 --- a/framework/generated/generated_vulkan_feature_util.cpp +++ b/framework/generated/generated_vulkan_feature_util.cpp @@ -1935,6 +1935,36 @@ void CheckUnsupportedFeatures(VkPhysicalDevice physicalDevice, } break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: + { + const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* currentNext = reinterpret_cast(next); + VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR query = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR, nullptr }; + physicalDeviceFeatures2.pNext = &query; + GetPhysicalDeviceFeatures2(physicalDevice, &physicalDeviceFeatures2); + if ((currentNext->shaderRelaxedExtendedInstruction == VK_TRUE) && (query.shaderRelaxedExtendedInstruction == VK_FALSE)) + { + GFXRECON_LOG_WARNING("Feature shaderRelaxedExtendedInstruction %s", warn_message); + found_unsupported = true; + const_cast(currentNext)->shaderRelaxedExtendedInstruction = + remove_unsupported ? VK_FALSE : VK_TRUE; + } + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: + { + const VkPhysicalDeviceMaintenance7FeaturesKHR* currentNext = reinterpret_cast(next); + VkPhysicalDeviceMaintenance7FeaturesKHR query = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR, nullptr }; + physicalDeviceFeatures2.pNext = &query; + GetPhysicalDeviceFeatures2(physicalDevice, &physicalDeviceFeatures2); + if ((currentNext->maintenance7 == VK_TRUE) && (query.maintenance7 == VK_FALSE)) + { + GFXRECON_LOG_WARNING("Feature maintenance7 %s", warn_message); + found_unsupported = true; + const_cast(currentNext)->maintenance7 = + remove_unsupported ? VK_FALSE : VK_TRUE; + } + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: { const VkPhysicalDeviceTransformFeedbackFeaturesEXT* currentNext = reinterpret_cast(next); @@ -4128,6 +4158,21 @@ void CheckUnsupportedFeatures(VkPhysicalDevice physicalDevice, } break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: + { + const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* currentNext = reinterpret_cast(next); + VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT query = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT, nullptr }; + physicalDeviceFeatures2.pNext = &query; + GetPhysicalDeviceFeatures2(physicalDevice, &physicalDeviceFeatures2); + if ((currentNext->legacyVertexAttributes == VK_TRUE) && (query.legacyVertexAttributes == VK_FALSE)) + { + GFXRECON_LOG_WARNING("Feature legacyVertexAttributes %s", warn_message); + found_unsupported = true; + const_cast(currentNext)->legacyVertexAttributes = + remove_unsupported ? VK_FALSE : VK_TRUE; + } + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM: { const VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM* currentNext = reinterpret_cast(next); @@ -4330,6 +4375,21 @@ void CheckUnsupportedFeatures(VkPhysicalDevice physicalDevice, } break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: + { + const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* currentNext = reinterpret_cast(next); + VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT query = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT, nullptr }; + physicalDeviceFeatures2.pNext = &query; + GetPhysicalDeviceFeatures2(physicalDevice, &physicalDeviceFeatures2); + if ((currentNext->shaderReplicatedComposites == VK_TRUE) && (query.shaderReplicatedComposites == VK_FALSE)) + { + GFXRECON_LOG_WARNING("Feature shaderReplicatedComposites %s", warn_message); + found_unsupported = true; + const_cast(currentNext)->shaderReplicatedComposites = + remove_unsupported ? VK_FALSE : VK_TRUE; + } + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: { const VkPhysicalDeviceRayTracingValidationFeaturesNV* currentNext = reinterpret_cast(next); @@ -4345,6 +4405,21 @@ void CheckUnsupportedFeatures(VkPhysicalDevice physicalDevice, } break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: + { + const VkPhysicalDeviceImageAlignmentControlFeaturesMESA* currentNext = reinterpret_cast(next); + VkPhysicalDeviceImageAlignmentControlFeaturesMESA query = { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA, nullptr }; + physicalDeviceFeatures2.pNext = &query; + GetPhysicalDeviceFeatures2(physicalDevice, &physicalDeviceFeatures2); + if ((currentNext->imageAlignmentControl == VK_TRUE) && (query.imageAlignmentControl == VK_FALSE)) + { + GFXRECON_LOG_WARNING("Feature imageAlignmentControl %s", warn_message); + found_unsupported = true; + const_cast(currentNext)->imageAlignmentControl = + remove_unsupported ? VK_FALSE : VK_TRUE; + } + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR: { const VkPhysicalDeviceAccelerationStructureFeaturesKHR* currentNext = reinterpret_cast(next); diff --git a/framework/generated/generated_vulkan_json_consumer.cpp b/framework/generated/generated_vulkan_json_consumer.cpp index 206036b608..56c2745147 100644 --- a/framework/generated/generated_vulkan_json_consumer.cpp +++ b/framework/generated/generated_vulkan_json_consumer.cpp @@ -5350,14 +5350,14 @@ void VulkanExportJsonConsumer::Process_vkCmdSetRenderingAttachmentLocationsKHR( void VulkanExportJsonConsumer::Process_vkCmdSetRenderingInputAttachmentIndicesKHR( const ApiCallInfo& call_info, format::HandleId commandBuffer, - StructPointerDecoder* pLocationInfo) + StructPointerDecoder* pInputAttachmentIndexInfo) { nlohmann::ordered_json& jdata = WriteApiCallStart(call_info, "vkCmdSetRenderingInputAttachmentIndicesKHR"); const JsonOptions& json_options = GetJsonOptions(); FieldToJson(jdata[NameCommandIndex()], GetCommandBufferRecordIndex(commandBuffer), json_options); auto& args = jdata[NameArgs()]; HandleToJson(args["commandBuffer"], commandBuffer, json_options); - FieldToJson(args["pLocationInfo"], pLocationInfo, json_options); + FieldToJson(args["pInputAttachmentIndexInfo"], pInputAttachmentIndexInfo, json_options); WriteBlockEnd(); } diff --git a/framework/generated/generated_vulkan_json_consumer.h b/framework/generated/generated_vulkan_json_consumer.h index 0ecc908d78..de1a5f486f 100644 --- a/framework/generated/generated_vulkan_json_consumer.h +++ b/framework/generated/generated_vulkan_json_consumer.h @@ -2193,7 +2193,7 @@ class VulkanExportJsonConsumer : public VulkanExportJsonConsumerBase virtual void Process_vkCmdSetRenderingInputAttachmentIndicesKHR( const ApiCallInfo& call_info, format::HandleId commandBuffer, - StructPointerDecoder* pLocationInfo) override; + StructPointerDecoder* pInputAttachmentIndexInfo) override; virtual void Process_vkWaitForPresentKHR( const ApiCallInfo& call_info, diff --git a/framework/generated/generated_vulkan_replay_consumer.cpp b/framework/generated/generated_vulkan_replay_consumer.cpp index 59e1a406ce..07a90f80e6 100644 --- a/framework/generated/generated_vulkan_replay_consumer.cpp +++ b/framework/generated/generated_vulkan_replay_consumer.cpp @@ -5341,16 +5341,16 @@ void VulkanReplayConsumer::Process_vkCmdSetRenderingAttachmentLocationsKHR( void VulkanReplayConsumer::Process_vkCmdSetRenderingInputAttachmentIndicesKHR( const ApiCallInfo& call_info, format::HandleId commandBuffer, - StructPointerDecoder* pLocationInfo) + StructPointerDecoder* pInputAttachmentIndexInfo) { VkCommandBuffer in_commandBuffer = MapHandle(commandBuffer, &VulkanObjectInfoTable::GetCommandBufferInfo); - const VkRenderingInputAttachmentIndexInfoKHR* in_pLocationInfo = pLocationInfo->GetPointer(); + const VkRenderingInputAttachmentIndexInfoKHR* in_pInputAttachmentIndexInfo = pInputAttachmentIndexInfo->GetPointer(); - GetDeviceTable(in_commandBuffer)->CmdSetRenderingInputAttachmentIndicesKHR(in_commandBuffer, in_pLocationInfo); + GetDeviceTable(in_commandBuffer)->CmdSetRenderingInputAttachmentIndicesKHR(in_commandBuffer, in_pInputAttachmentIndexInfo); if (options_.dumping_resources) { - resource_dumper.Process_vkCmdSetRenderingInputAttachmentIndicesKHR(call_info, GetDeviceTable(in_commandBuffer)->CmdSetRenderingInputAttachmentIndicesKHR, in_commandBuffer, in_pLocationInfo); + resource_dumper.Process_vkCmdSetRenderingInputAttachmentIndicesKHR(call_info, GetDeviceTable(in_commandBuffer)->CmdSetRenderingInputAttachmentIndicesKHR, in_commandBuffer, in_pInputAttachmentIndexInfo); } } @@ -12686,6 +12686,36 @@ static void InitializeOutputStructPNextImpl(const VkBaseInStructure* in_pnext, V output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: { output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); @@ -14476,6 +14506,16 @@ static void InitializeOutputStructPNextImpl(const VkBaseInStructure* in_pnext, V output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: { output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); @@ -14631,11 +14671,31 @@ static void InitializeOutputStructPNextImpl(const VkBaseInStructure* in_pnext, V output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: { output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: + { + output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); + break; + } case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR: { output_struct->pNext = reinterpret_cast(DecodeAllocator::Allocate()); diff --git a/framework/generated/generated_vulkan_replay_consumer.h b/framework/generated/generated_vulkan_replay_consumer.h index 55085def1b..9948d52d2b 100644 --- a/framework/generated/generated_vulkan_replay_consumer.h +++ b/framework/generated/generated_vulkan_replay_consumer.h @@ -2226,7 +2226,7 @@ class VulkanReplayConsumer : public VulkanReplayConsumerBase virtual void Process_vkCmdSetRenderingInputAttachmentIndicesKHR( const ApiCallInfo& call_info, format::HandleId commandBuffer, - StructPointerDecoder* pLocationInfo) override; + StructPointerDecoder* pInputAttachmentIndexInfo) override; virtual void Process_vkWaitForPresentKHR( const ApiCallInfo& call_info, diff --git a/framework/generated/generated_vulkan_replay_dump_resources.cpp b/framework/generated/generated_vulkan_replay_dump_resources.cpp index bfaa483be4..0f0ddabacb 100644 --- a/framework/generated/generated_vulkan_replay_dump_resources.cpp +++ b/framework/generated/generated_vulkan_replay_dump_resources.cpp @@ -2349,7 +2349,7 @@ void VulkanReplayDumpResources::Process_vkCmdSetRenderingInputAttachmentIndicesK const ApiCallInfo& call_info, PFN_vkCmdSetRenderingInputAttachmentIndicesKHR func, VkCommandBuffer commandBuffer, - const VkRenderingInputAttachmentIndexInfoKHR* pLocationInfo) + const VkRenderingInputAttachmentIndexInfoKHR* pInputAttachmentIndexInfo) { if (IsRecording(commandBuffer)) { @@ -2359,14 +2359,14 @@ void VulkanReplayDumpResources::Process_vkCmdSetRenderingInputAttachmentIndicesK { for (CommandBufferIterator it = first; it < last; ++it) { - func(*it, pLocationInfo); + func(*it, pInputAttachmentIndexInfo); } } VkCommandBuffer dispatch_rays_command_buffer = GetDispatchRaysCommandBuffer(commandBuffer); if (dispatch_rays_command_buffer != VK_NULL_HANDLE) { - func(dispatch_rays_command_buffer, pLocationInfo); + func(dispatch_rays_command_buffer, pInputAttachmentIndexInfo); } } } diff --git a/framework/generated/generated_vulkan_replay_dump_resources.h b/framework/generated/generated_vulkan_replay_dump_resources.h index 3341a45ad2..4a4214a31d 100644 --- a/framework/generated/generated_vulkan_replay_dump_resources.h +++ b/framework/generated/generated_vulkan_replay_dump_resources.h @@ -852,7 +852,7 @@ void Process_vkCmdSetRenderingInputAttachmentIndicesKHR( const ApiCallInfo& call_info, PFN_vkCmdSetRenderingInputAttachmentIndicesKHR func, VkCommandBuffer commandBuffer, - const VkRenderingInputAttachmentIndexInfoKHR* pLocationInfo); + const VkRenderingInputAttachmentIndexInfoKHR* pInputAttachmentIndexInfo); diff --git a/framework/generated/generated_vulkan_struct_decoders.cpp b/framework/generated/generated_vulkan_struct_decoders.cpp index b47b04f513..7005d0a697 100644 --- a/framework/generated/generated_vulkan_struct_decoders.cpp +++ b/framework/generated/generated_vulkan_struct_decoders.cpp @@ -11934,6 +11934,112 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkBindDes return bytes_read; } +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->shaderRelaxedExtendedInstruction)); + + return bytes_read; +} + +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceMaintenance7FeaturesKHR* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->maintenance7)); + + return bytes_read; +} + +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceMaintenance7PropertiesKHR* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->robustFragmentShadingRateAttachmentAccess)); + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->separateDepthStencilAttachmentAccess)); + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->maxDescriptorSetTotalUniformBuffersDynamic)); + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->maxDescriptorSetTotalStorageBuffersDynamic)); + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->maxDescriptorSetTotalBuffersDynamic)); + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic)); + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic)); + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->maxDescriptorSetUpdateAfterBindTotalBuffersDynamic)); + + return bytes_read; +} + +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceLayeredApiPropertiesKHR* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->vendorID)); + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->deviceID)); + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->layeredAPI)); + wrapper->deviceName.SetExternalMemory(value->deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE); + bytes_read += wrapper->deviceName.Decode((buffer + bytes_read), (buffer_size - bytes_read)); + + return bytes_read; +} + +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceLayeredApiPropertiesListKHR* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->layeredApiCount)); + wrapper->pLayeredApis = DecodeAllocator::Allocate>(); + bytes_read += wrapper->pLayeredApis->Decode((buffer + bytes_read), (buffer_size - bytes_read)); + value->pLayeredApis = wrapper->pLayeredApis->GetPointer(); + + return bytes_read; +} + +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + wrapper->properties = DecodeAllocator::Allocate(); + wrapper->properties->decoded_value = &(value->properties); + bytes_read += DecodeStruct((buffer + bytes_read), (buffer_size - bytes_read), wrapper->properties); + + return bytes_read; +} + size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkDebugReportCallbackCreateInfoEXT* wrapper) { assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); @@ -18952,6 +19058,36 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysica return bytes_read; } +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->legacyVertexAttributes)); + + return bytes_read; +} + +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->nativeUnalignedPerformance)); + + return bytes_read; +} + size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkLayerSettingEXT* wrapper) { assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); @@ -19474,6 +19610,21 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysica return bytes_read; } +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->shaderReplicatedComposites)); + + return bytes_read; +} + size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV* wrapper) { assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); @@ -19489,6 +19640,51 @@ size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysica return bytes_read; } +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceImageAlignmentControlFeaturesMESA* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->imageAlignmentControl)); + + return bytes_read; +} + +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkPhysicalDeviceImageAlignmentControlPropertiesMESA* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->supportedImageAlignmentMask)); + + return bytes_read; +} + +size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkImageAlignmentControlCreateInfoMESA* wrapper) +{ + assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); + + size_t bytes_read = 0; + VkImageAlignmentControlCreateInfoMESA* value = wrapper->decoded_value; + + bytes_read += ValueDecoder::DecodeEnumValue((buffer + bytes_read), (buffer_size - bytes_read), &(value->sType)); + bytes_read += DecodePNextStruct((buffer + bytes_read), (buffer_size - bytes_read), &(wrapper->pNext)); + value->pNext = wrapper->pNext ? wrapper->pNext->GetPointer() : nullptr; + bytes_read += ValueDecoder::DecodeUInt32Value((buffer + bytes_read), (buffer_size - bytes_read), &(value->maximumRequestedAlignment)); + + return bytes_read; +} + size_t DecodeStruct(const uint8_t* buffer, size_t buffer_size, Decoded_VkAccelerationStructureBuildRangeInfoKHR* wrapper) { assert((wrapper != nullptr) && (wrapper->decoded_value != nullptr)); diff --git a/framework/generated/generated_vulkan_struct_decoders.h b/framework/generated/generated_vulkan_struct_decoders.h index 99a2e087b6..8ca04530dd 100644 --- a/framework/generated/generated_vulkan_struct_decoders.h +++ b/framework/generated/generated_vulkan_struct_decoders.h @@ -5924,6 +5924,63 @@ struct Decoded_VkBindDescriptorBufferEmbeddedSamplersInfoEXT format::HandleId layout{ format::kNullHandleId }; }; +struct Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR +{ + using struct_type = VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR; + + VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + +struct Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR +{ + using struct_type = VkPhysicalDeviceMaintenance7FeaturesKHR; + + VkPhysicalDeviceMaintenance7FeaturesKHR* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + +struct Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR +{ + using struct_type = VkPhysicalDeviceMaintenance7PropertiesKHR; + + VkPhysicalDeviceMaintenance7PropertiesKHR* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + +struct Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR +{ + using struct_type = VkPhysicalDeviceLayeredApiPropertiesKHR; + + VkPhysicalDeviceLayeredApiPropertiesKHR* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; + StringDecoder deviceName; +}; + +struct Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR +{ + using struct_type = VkPhysicalDeviceLayeredApiPropertiesListKHR; + + VkPhysicalDeviceLayeredApiPropertiesListKHR* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; + StructPointerDecoder* pLayeredApis{ nullptr }; +}; + +struct Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR +{ + using struct_type = VkPhysicalDeviceLayeredApiVulkanPropertiesKHR; + + VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; + Decoded_VkPhysicalDeviceProperties2* properties{ nullptr }; +}; + struct Decoded_VkDebugReportCallbackCreateInfoEXT { using struct_type = VkDebugReportCallbackCreateInfoEXT; @@ -9823,6 +9880,24 @@ struct Decoded_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV PNextNode* pNext{ nullptr }; }; +struct Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT +{ + using struct_type = VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT; + + VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + +struct Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT +{ + using struct_type = VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT; + + VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + struct Decoded_VkLayerSettingEXT { using struct_type = VkLayerSettingEXT; @@ -10120,6 +10195,15 @@ struct Decoded_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV PNextNode* pNext{ nullptr }; }; +struct Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT +{ + using struct_type = VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT; + + VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + struct Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV { using struct_type = VkPhysicalDeviceRayTracingValidationFeaturesNV; @@ -10129,6 +10213,33 @@ struct Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV PNextNode* pNext{ nullptr }; }; +struct Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA +{ + using struct_type = VkPhysicalDeviceImageAlignmentControlFeaturesMESA; + + VkPhysicalDeviceImageAlignmentControlFeaturesMESA* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + +struct Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA +{ + using struct_type = VkPhysicalDeviceImageAlignmentControlPropertiesMESA; + + VkPhysicalDeviceImageAlignmentControlPropertiesMESA* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + +struct Decoded_VkImageAlignmentControlCreateInfoMESA +{ + using struct_type = VkImageAlignmentControlCreateInfoMESA; + + VkImageAlignmentControlCreateInfoMESA* decoded_value{ nullptr }; + + PNextNode* pNext{ nullptr }; +}; + struct Decoded_VkAccelerationStructureBuildRangeInfoKHR { using struct_type = VkAccelerationStructureBuildRangeInfoKHR; diff --git a/framework/generated/generated_vulkan_struct_decoders_forward.h b/framework/generated/generated_vulkan_struct_decoders_forward.h index 2af8729bdc..0bd3c5e9e5 100644 --- a/framework/generated/generated_vulkan_struct_decoders_forward.h +++ b/framework/generated/generated_vulkan_struct_decoders_forward.h @@ -1322,6 +1322,22 @@ size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkSetDescriptorBufferOffsetsInfoEXT* wrapper); size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkBindDescriptorBufferEmbeddedSamplersInfoEXT* wrapper); +struct Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR; + +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* wrapper); + +struct Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR; +struct Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR; +struct Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR; +struct Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR; +struct Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR; + +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR* wrapper); +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR* wrapper); +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR* wrapper); +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR* wrapper); +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* wrapper); + struct Decoded_VkDebugReportCallbackCreateInfoEXT; size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkDebugReportCallbackCreateInfoEXT* wrapper); @@ -2450,6 +2466,12 @@ struct Decoded_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV; size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV* wrapper); size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* wrapper); +struct Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT; +struct Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT; + +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* wrapper); +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* wrapper); + struct Decoded_VkLayerSettingEXT; struct Decoded_VkLayerSettingsCreateInfoEXT; @@ -2546,10 +2568,22 @@ struct Decoded_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV; size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* wrapper); +struct Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT; + +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* wrapper); + struct Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV; size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV* wrapper); +struct Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA; +struct Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA; +struct Decoded_VkImageAlignmentControlCreateInfoMESA; + +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA* wrapper); +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA* wrapper); +size_t DecodeStruct(const uint8_t* parameter_buffer, size_t buffer_size, Decoded_VkImageAlignmentControlCreateInfoMESA* wrapper); + struct Decoded_VkAccelerationStructureBuildRangeInfoKHR; struct Decoded_VkAccelerationStructureGeometryTrianglesDataKHR; struct Decoded_VkAccelerationStructureGeometryAabbsDataKHR; diff --git a/framework/generated/generated_vulkan_struct_encoders.cpp b/framework/generated/generated_vulkan_struct_encoders.cpp index 17c3a6577a..83863df41c 100644 --- a/framework/generated/generated_vulkan_struct_encoders.cpp +++ b/framework/generated/generated_vulkan_struct_encoders.cpp @@ -5987,6 +5987,59 @@ void EncodeStruct(ParameterEncoder* encoder, const VkBindDescriptorBufferEmbedde encoder->EncodeUInt32Value(value.set); } +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.shaderRelaxedExtendedInstruction); +} + +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceMaintenance7FeaturesKHR& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.maintenance7); +} + +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceMaintenance7PropertiesKHR& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.robustFragmentShadingRateAttachmentAccess); + encoder->EncodeUInt32Value(value.separateDepthStencilAttachmentAccess); + encoder->EncodeUInt32Value(value.maxDescriptorSetTotalUniformBuffersDynamic); + encoder->EncodeUInt32Value(value.maxDescriptorSetTotalStorageBuffersDynamic); + encoder->EncodeUInt32Value(value.maxDescriptorSetTotalBuffersDynamic); + encoder->EncodeUInt32Value(value.maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic); + encoder->EncodeUInt32Value(value.maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic); + encoder->EncodeUInt32Value(value.maxDescriptorSetUpdateAfterBindTotalBuffersDynamic); +} + +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLayeredApiPropertiesKHR& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.vendorID); + encoder->EncodeUInt32Value(value.deviceID); + encoder->EncodeEnumValue(value.layeredAPI); + encoder->EncodeString(value.deviceName); +} + +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLayeredApiPropertiesListKHR& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.layeredApiCount); + EncodeStructArray(encoder, value.pLayeredApis, value.layeredApiCount); +} + +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLayeredApiVulkanPropertiesKHR& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + EncodeStruct(encoder, value.properties); +} + void EncodeStruct(ParameterEncoder* encoder, const VkDebugReportCallbackCreateInfoEXT& value) { encoder->EncodeEnumValue(value.sType); @@ -9449,6 +9502,20 @@ void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceExtendedSpars encoder->EncodeFlagsValue(value.extendedSparseBufferUsageFlags); } +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.legacyVertexAttributes); +} + +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.nativeUnalignedPerformance); +} + void EncodeStruct(ParameterEncoder* encoder, const VkLayerSettingEXT& value) { encoder->EncodeString(value.pLayerName); @@ -9701,6 +9768,13 @@ void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceShaderAtomicF encoder->EncodeUInt32Value(value.shaderFloat16VectorAtomics); } +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.shaderReplicatedComposites); +} + void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceRayTracingValidationFeaturesNV& value) { encoder->EncodeEnumValue(value.sType); @@ -9708,6 +9782,27 @@ void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceRayTracingVal encoder->EncodeUInt32Value(value.rayTracingValidation); } +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceImageAlignmentControlFeaturesMESA& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.imageAlignmentControl); +} + +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceImageAlignmentControlPropertiesMESA& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.supportedImageAlignmentMask); +} + +void EncodeStruct(ParameterEncoder* encoder, const VkImageAlignmentControlCreateInfoMESA& value) +{ + encoder->EncodeEnumValue(value.sType); + EncodePNextStruct(encoder, value.pNext); + encoder->EncodeUInt32Value(value.maximumRequestedAlignment); +} + void EncodeStruct(ParameterEncoder* encoder, const VkAccelerationStructureBuildRangeInfoKHR& value) { encoder->EncodeUInt32Value(value.primitiveCount); diff --git a/framework/generated/generated_vulkan_struct_encoders.h b/framework/generated/generated_vulkan_struct_encoders.h index 6acfeb9a39..5435b90cde 100644 --- a/framework/generated/generated_vulkan_struct_encoders.h +++ b/framework/generated/generated_vulkan_struct_encoders.h @@ -688,6 +688,14 @@ void EncodeStruct(ParameterEncoder* encoder, const VkPushDescriptorSetInfoKHR& v void EncodeStruct(ParameterEncoder* encoder, const VkSetDescriptorBufferOffsetsInfoEXT& value); void EncodeStruct(ParameterEncoder* encoder, const VkBindDescriptorBufferEmbeddedSamplersInfoEXT& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR& value); + +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceMaintenance7FeaturesKHR& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceMaintenance7PropertiesKHR& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLayeredApiPropertiesKHR& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLayeredApiPropertiesListKHR& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLayeredApiVulkanPropertiesKHR& value); + void EncodeStruct(ParameterEncoder* encoder, const VkDebugReportCallbackCreateInfoEXT& value); void EncodeStruct(ParameterEncoder* encoder, const VkPipelineRasterizationStateRasterizationOrderAMD& value); @@ -1252,6 +1260,9 @@ void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceRayTracingInv void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV& value); void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT& value); + void EncodeStruct(ParameterEncoder* encoder, const VkLayerSettingEXT& value); void EncodeStruct(ParameterEncoder* encoder, const VkLayerSettingsCreateInfoEXT& value); @@ -1300,8 +1311,14 @@ void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceRawAccessChai void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT& value); + void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceRayTracingValidationFeaturesNV& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceImageAlignmentControlFeaturesMESA& value); +void EncodeStruct(ParameterEncoder* encoder, const VkPhysicalDeviceImageAlignmentControlPropertiesMESA& value); +void EncodeStruct(ParameterEncoder* encoder, const VkImageAlignmentControlCreateInfoMESA& value); + void EncodeStruct(ParameterEncoder* encoder, const VkAccelerationStructureBuildRangeInfoKHR& value); void EncodeStruct(ParameterEncoder* encoder, const VkAccelerationStructureGeometryTrianglesDataKHR& value); void EncodeStruct(ParameterEncoder* encoder, const VkAccelerationStructureGeometryAabbsDataKHR& value); diff --git a/framework/generated/generated_vulkan_struct_handle_wrappers.cpp b/framework/generated/generated_vulkan_struct_handle_wrappers.cpp index ed7dbc0b73..a1d68b9919 100644 --- a/framework/generated/generated_vulkan_struct_handle_wrappers.cpp +++ b/framework/generated/generated_vulkan_struct_handle_wrappers.cpp @@ -2052,6 +2052,21 @@ VkBaseInStructure* CopyPNextStruct(const VkBaseInStructure* base, HandleUnwrapMe case VK_STRUCTURE_TYPE_BIND_MEMORY_STATUS_KHR: copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); break; @@ -2865,6 +2880,12 @@ VkBaseInStructure* CopyPNextStruct(const VkBaseInStructure* base, HandleUnwrapMe case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV: copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); break; @@ -2940,9 +2961,21 @@ VkBaseInStructure* CopyPNextStruct(const VkBaseInStructure* base, HandleUnwrapMe case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: + copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); + break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: copy = reinterpret_cast(MakeUnwrapStructs(reinterpret_cast(base), 1, unwrap_memory)); break; diff --git a/framework/generated/generated_vulkan_struct_to_json.cpp b/framework/generated/generated_vulkan_struct_to_json.cpp index e4f22852d2..e407c07483 100644 --- a/framework/generated/generated_vulkan_struct_to_json.cpp +++ b/framework/generated/generated_vulkan_struct_to_json.cpp @@ -9371,6 +9371,95 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindDescriptorBu } } +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + jdata["shaderRelaxedExtendedInstruction"] = static_cast(decoded_value.shaderRelaxedExtendedInstruction); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceMaintenance7FeaturesKHR& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + jdata["maintenance7"] = static_cast(decoded_value.maintenance7); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceMaintenance7PropertiesKHR& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + jdata["robustFragmentShadingRateAttachmentAccess"] = static_cast(decoded_value.robustFragmentShadingRateAttachmentAccess); + jdata["separateDepthStencilAttachmentAccess"] = static_cast(decoded_value.separateDepthStencilAttachmentAccess); + FieldToJson(jdata["maxDescriptorSetTotalUniformBuffersDynamic"], decoded_value.maxDescriptorSetTotalUniformBuffersDynamic, options); + FieldToJson(jdata["maxDescriptorSetTotalStorageBuffersDynamic"], decoded_value.maxDescriptorSetTotalStorageBuffersDynamic, options); + FieldToJson(jdata["maxDescriptorSetTotalBuffersDynamic"], decoded_value.maxDescriptorSetTotalBuffersDynamic, options); + FieldToJson(jdata["maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic"], decoded_value.maxDescriptorSetUpdateAfterBindTotalUniformBuffersDynamic, options); + FieldToJson(jdata["maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic"], decoded_value.maxDescriptorSetUpdateAfterBindTotalStorageBuffersDynamic, options); + FieldToJson(jdata["maxDescriptorSetUpdateAfterBindTotalBuffersDynamic"], decoded_value.maxDescriptorSetUpdateAfterBindTotalBuffersDynamic, options); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceLayeredApiPropertiesKHR& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + FieldToJson(jdata["vendorID"], decoded_value.vendorID, options); + FieldToJson(jdata["deviceID"], decoded_value.deviceID, options); + FieldToJson(jdata["layeredAPI"], decoded_value.layeredAPI, options); + FieldToJson(jdata["deviceName"], &meta_struct.deviceName, options); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceLayeredApiPropertiesListKHR& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + FieldToJson(jdata["layeredApiCount"], decoded_value.layeredApiCount, options); + FieldToJson(jdata["pLayeredApis"], meta_struct.pLayeredApis, options); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceLayeredApiVulkanPropertiesKHR& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + FieldToJson(jdata["properties"], meta_struct.properties, options); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugReportCallbackCreateInfoEXT* data, const JsonOptions& options) { if (data && data->decoded_value) @@ -15239,6 +15328,32 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceEx } } +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + jdata["legacyVertexAttributes"] = static_cast(decoded_value.legacyVertexAttributes); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + jdata["nativeUnalignedPerformance"] = static_cast(decoded_value.nativeUnalignedPerformance); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkLayerSettingEXT* data, const JsonOptions& options) { if (data && data->decoded_value) @@ -15683,6 +15798,19 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceSh } } +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + jdata["shaderReplicatedComposites"] = static_cast(decoded_value.shaderReplicatedComposites); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV* data, const JsonOptions& options) { if (data && data->decoded_value) @@ -15696,6 +15824,45 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa } } +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceImageAlignmentControlFeaturesMESA& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + jdata["imageAlignmentControl"] = static_cast(decoded_value.imageAlignmentControl); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkPhysicalDeviceImageAlignmentControlPropertiesMESA& decoded_value = *data->decoded_value; + const Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + FieldToJson(jdata["supportedImageAlignmentMask"], decoded_value.supportedImageAlignmentMask, options); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageAlignmentControlCreateInfoMESA* data, const JsonOptions& options) +{ + if (data && data->decoded_value) + { + const VkImageAlignmentControlCreateInfoMESA& decoded_value = *data->decoded_value; + const Decoded_VkImageAlignmentControlCreateInfoMESA& meta_struct = *data; + + FieldToJson(jdata["sType"], decoded_value.sType, options); + FieldToJson(jdata["maximumRequestedAlignment"], decoded_value.maximumRequestedAlignment, options); + FieldToJson(jdata["pNext"], meta_struct.pNext, options); + } +} + void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStructureBuildRangeInfoKHR* data, const JsonOptions& options) { if (data && data->decoded_value) @@ -17780,6 +17947,41 @@ void FieldToJson(nlohmann::ordered_json& jdata, const PNextNode* data, const Jso break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: { const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); @@ -19677,6 +19879,20 @@ void FieldToJson(nlohmann::ordered_json& jdata, const PNextNode* data, const Jso break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: { const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); @@ -19852,6 +20068,13 @@ void FieldToJson(nlohmann::ordered_json& jdata, const PNextNode* data, const Jso break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: { const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); @@ -19859,6 +20082,27 @@ void FieldToJson(nlohmann::ordered_json& jdata, const PNextNode* data, const Jso break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: + { + const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); + FieldToJson(jdata, pnext, options); + break; + } + case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: { const auto* pnext = reinterpret_cast(data->GetMetaStructPointer()); diff --git a/framework/generated/generated_vulkan_struct_to_json.h b/framework/generated/generated_vulkan_struct_to_json.h index 69a93dcde8..0389cc092a 100644 --- a/framework/generated/generated_vulkan_struct_to_json.h +++ b/framework/generated/generated_vulkan_struct_to_json.h @@ -605,6 +605,12 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPushConstantsInf void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPushDescriptorSetInfoKHR* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkSetDescriptorBufferOffsetsInfoEXT* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkBindDescriptorBufferEmbeddedSamplersInfoEXT* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMaintenance7FeaturesKHR* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceMaintenance7PropertiesKHR* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLayeredApiPropertiesKHR* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLayeredApiPropertiesListKHR* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugReportCallbackCreateInfoEXT* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPipelineRasterizationStateRasterizationOrderAMD* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkDebugMarkerObjectNameInfoEXT* data, const util::JsonOptions& options = util::JsonOptions()); @@ -1006,6 +1012,8 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRa void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkLayerSettingEXT* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkLayerSettingsCreateInfoEXT* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM* data, const util::JsonOptions& options = util::JsonOptions()); @@ -1038,7 +1046,11 @@ void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceLa void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRawAccessChainsFeaturesNV* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceRayTracingValidationFeaturesNV* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceImageAlignmentControlFeaturesMESA* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkPhysicalDeviceImageAlignmentControlPropertiesMESA* data, const util::JsonOptions& options = util::JsonOptions()); +void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkImageAlignmentControlCreateInfoMESA* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStructureBuildRangeInfoKHR* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStructureGeometryTrianglesDataKHR* data, const util::JsonOptions& options = util::JsonOptions()); void FieldToJson(nlohmann::ordered_json& jdata, const Decoded_VkAccelerationStructureGeometryAabbsDataKHR* data, const util::JsonOptions& options = util::JsonOptions()); diff --git a/framework/generated/generated_vulkan_struct_trackers.cpp b/framework/generated/generated_vulkan_struct_trackers.cpp index cc44ccf67e..a650c02732 100644 --- a/framework/generated/generated_vulkan_struct_trackers.cpp +++ b/framework/generated/generated_vulkan_struct_trackers.cpp @@ -6841,6 +6841,100 @@ VkBindDescriptorBufferEmbeddedSamplersInfoEXT* TrackStruct(const VkBindDescripto return unwrapped_struct; } +VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* TrackStruct(const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + +VkPhysicalDeviceMaintenance7FeaturesKHR* TrackStruct(const VkPhysicalDeviceMaintenance7FeaturesKHR* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceMaintenance7FeaturesKHR* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + +VkPhysicalDeviceMaintenance7PropertiesKHR* TrackStruct(const VkPhysicalDeviceMaintenance7PropertiesKHR* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceMaintenance7PropertiesKHR* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + +VkPhysicalDeviceLayeredApiPropertiesKHR* TrackStruct(const VkPhysicalDeviceLayeredApiPropertiesKHR* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceLayeredApiPropertiesKHR* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + +VkPhysicalDeviceLayeredApiPropertiesListKHR* TrackStruct(const VkPhysicalDeviceLayeredApiPropertiesListKHR* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceLayeredApiPropertiesListKHR* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + if (unwrapped_struct->pLayeredApis) + { + unwrapped_struct->pLayeredApis = vulkan_wrappers::MakeUnwrapStructs(unwrapped_struct->pLayeredApis, unwrapped_struct->layeredApiCount, unwrap_memory); + } + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + +VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* TrackStruct(const VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + VkDebugReportCallbackCreateInfoEXT* TrackStruct(const VkDebugReportCallbackCreateInfoEXT* value, HandleUnwrapMemory* unwrap_memory) { if (value == nullptr) @@ -12499,6 +12593,36 @@ VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* TrackStruct(const VkPhys return unwrapped_struct; } +VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* TrackStruct(const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + +VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* TrackStruct(const VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + VkLayerSettingsCreateInfoEXT* TrackStruct(const VkLayerSettingsCreateInfoEXT* value, HandleUnwrapMemory* unwrap_memory) { if (value == nullptr) @@ -12980,6 +13104,21 @@ VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* TrackStruct(const VkPhysica return unwrapped_struct; } +VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* TrackStruct(const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + VkPhysicalDeviceRayTracingValidationFeaturesNV* TrackStruct(const VkPhysicalDeviceRayTracingValidationFeaturesNV* value, HandleUnwrapMemory* unwrap_memory) { if (value == nullptr) @@ -12995,6 +13134,51 @@ VkPhysicalDeviceRayTracingValidationFeaturesNV* TrackStruct(const VkPhysicalDevi return unwrapped_struct; } +VkPhysicalDeviceImageAlignmentControlFeaturesMESA* TrackStruct(const VkPhysicalDeviceImageAlignmentControlFeaturesMESA* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceImageAlignmentControlFeaturesMESA* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + +VkPhysicalDeviceImageAlignmentControlPropertiesMESA* TrackStruct(const VkPhysicalDeviceImageAlignmentControlPropertiesMESA* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkPhysicalDeviceImageAlignmentControlPropertiesMESA* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + +VkImageAlignmentControlCreateInfoMESA* TrackStruct(const VkImageAlignmentControlCreateInfoMESA* value, HandleUnwrapMemory* unwrap_memory) +{ + if (value == nullptr) + { + return nullptr; + } + + VkImageAlignmentControlCreateInfoMESA* unwrapped_struct = vulkan_wrappers::MakeUnwrapStructs(value, 1, unwrap_memory); + + + unwrapped_struct->pNext = TrackStruct(unwrapped_struct->pNext, unwrap_memory); + + return unwrapped_struct; +} + VkAccelerationStructureGeometryTrianglesDataKHR* TrackStruct(const VkAccelerationStructureGeometryTrianglesDataKHR* value, HandleUnwrapMemory* unwrap_memory) { if (value == nullptr) @@ -14205,6 +14389,18 @@ void* TrackStruct(const void* value, HandleUnwrapMemory* unwrap_memory) return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT: return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: + return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: + return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: + return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR: + return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: + return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: + return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD: @@ -14921,6 +15117,10 @@ void* TrackStruct(const void* value, HandleUnwrapMemory* unwrap_memory) return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV: return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: + return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: + return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM: @@ -14983,8 +15183,16 @@ void* TrackStruct(const void* value, HandleUnwrapMemory* unwrap_memory) return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: + return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: + return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: + return TrackStruct(reinterpret_cast(value), unwrap_memory); + case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: + return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR: return TrackStruct(reinterpret_cast(value), unwrap_memory); case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR: diff --git a/framework/generated/generated_vulkan_struct_trackers.h b/framework/generated/generated_vulkan_struct_trackers.h index c99a5f0bca..eafa95e09f 100644 --- a/framework/generated/generated_vulkan_struct_trackers.h +++ b/framework/generated/generated_vulkan_struct_trackers.h @@ -472,6 +472,12 @@ VkPushDescriptorSetInfoKHR* TrackStruct(const VkPushDescriptorSetInfoKHR* value, VkPushDescriptorSetWithTemplateInfoKHR* TrackStruct(const VkPushDescriptorSetWithTemplateInfoKHR* value, HandleUnwrapMemory* unwrap_memory); VkSetDescriptorBufferOffsetsInfoEXT* TrackStruct(const VkSetDescriptorBufferOffsetsInfoEXT* value, HandleUnwrapMemory* unwrap_memory); VkBindDescriptorBufferEmbeddedSamplersInfoEXT* TrackStruct(const VkBindDescriptorBufferEmbeddedSamplersInfoEXT* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* TrackStruct(const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceMaintenance7FeaturesKHR* TrackStruct(const VkPhysicalDeviceMaintenance7FeaturesKHR* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceMaintenance7PropertiesKHR* TrackStruct(const VkPhysicalDeviceMaintenance7PropertiesKHR* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceLayeredApiPropertiesKHR* TrackStruct(const VkPhysicalDeviceLayeredApiPropertiesKHR* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceLayeredApiPropertiesListKHR* TrackStruct(const VkPhysicalDeviceLayeredApiPropertiesListKHR* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* TrackStruct(const VkPhysicalDeviceLayeredApiVulkanPropertiesKHR* value, HandleUnwrapMemory* unwrap_memory); VkDebugReportCallbackCreateInfoEXT* TrackStruct(const VkDebugReportCallbackCreateInfoEXT* value, HandleUnwrapMemory* unwrap_memory); VkPipelineRasterizationStateRasterizationOrderAMD* TrackStruct(const VkPipelineRasterizationStateRasterizationOrderAMD* value, HandleUnwrapMemory* unwrap_memory); VkDebugMarkerObjectNameInfoEXT* TrackStruct(const VkDebugMarkerObjectNameInfoEXT* value, HandleUnwrapMemory* unwrap_memory); @@ -830,6 +836,8 @@ VkPhysicalDeviceRayTracingInvocationReorderPropertiesNV* TrackStruct(const VkPhy VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV* TrackStruct(const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV* value, HandleUnwrapMemory* unwrap_memory); VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV* TrackStruct(const VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV* value, HandleUnwrapMemory* unwrap_memory); VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* TrackStruct(const VkPhysicalDeviceExtendedSparseAddressSpacePropertiesNV* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* TrackStruct(const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* TrackStruct(const VkPhysicalDeviceLegacyVertexAttributesPropertiesEXT* value, HandleUnwrapMemory* unwrap_memory); VkLayerSettingsCreateInfoEXT* TrackStruct(const VkLayerSettingsCreateInfoEXT* value, HandleUnwrapMemory* unwrap_memory); VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM* TrackStruct(const VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM* value, HandleUnwrapMemory* unwrap_memory); VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM* TrackStruct(const VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM* value, HandleUnwrapMemory* unwrap_memory); @@ -861,7 +869,11 @@ VkPhysicalDeviceLayeredDriverPropertiesMSFT* TrackStruct(const VkPhysicalDeviceL VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV* TrackStruct(const VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV* value, HandleUnwrapMemory* unwrap_memory); VkPhysicalDeviceRawAccessChainsFeaturesNV* TrackStruct(const VkPhysicalDeviceRawAccessChainsFeaturesNV* value, HandleUnwrapMemory* unwrap_memory); VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* TrackStruct(const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* TrackStruct(const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* value, HandleUnwrapMemory* unwrap_memory); VkPhysicalDeviceRayTracingValidationFeaturesNV* TrackStruct(const VkPhysicalDeviceRayTracingValidationFeaturesNV* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceImageAlignmentControlFeaturesMESA* TrackStruct(const VkPhysicalDeviceImageAlignmentControlFeaturesMESA* value, HandleUnwrapMemory* unwrap_memory); +VkPhysicalDeviceImageAlignmentControlPropertiesMESA* TrackStruct(const VkPhysicalDeviceImageAlignmentControlPropertiesMESA* value, HandleUnwrapMemory* unwrap_memory); +VkImageAlignmentControlCreateInfoMESA* TrackStruct(const VkImageAlignmentControlCreateInfoMESA* value, HandleUnwrapMemory* unwrap_memory); VkAccelerationStructureGeometryTrianglesDataKHR* TrackStruct(const VkAccelerationStructureGeometryTrianglesDataKHR* value, HandleUnwrapMemory* unwrap_memory); VkAccelerationStructureGeometryAabbsDataKHR* TrackStruct(const VkAccelerationStructureGeometryAabbsDataKHR* value, HandleUnwrapMemory* unwrap_memory); VkAccelerationStructureGeometryInstancesDataKHR* TrackStruct(const VkAccelerationStructureGeometryInstancesDataKHR* value, HandleUnwrapMemory* unwrap_memory); diff --git a/framework/generated/generated_vulkan_stype_util.h b/framework/generated/generated_vulkan_stype_util.h index 309e5ea141..449ab02ef1 100644 --- a/framework/generated/generated_vulkan_stype_util.h +++ b/framework/generated/generated_vulkan_stype_util.h @@ -467,6 +467,12 @@ template <> constexpr VkStructureType GetSType(){ re template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PUSH_DESCRIPTOR_SET_WITH_TEMPLATE_INFO_KHR; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_SET_DESCRIPTOR_BUFFER_OFFSETS_INFO_EXT; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_BIND_DESCRIPTOR_BUFFER_EMBEDDED_SAMPLERS_INFO_EXT; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_KHR; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT; } @@ -825,6 +831,8 @@ template <> constexpr VkStructureType GetSType constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_FEATURES_NV; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM; } @@ -856,7 +864,11 @@ template <> constexpr VkStructureType GetSType constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA; } +template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR; } template <> constexpr VkStructureType GetSType(){ return VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR; }