diff --git a/layers/core_checks/cc_external_object.cpp b/layers/core_checks/cc_external_object.cpp index 93ec39886bf..ccc5800ea20 100644 --- a/layers/core_checks/cc_external_object.cpp +++ b/layers/core_checks/cc_external_object.cpp @@ -107,6 +107,19 @@ bool CoreChecks::PreCallValidateImportSemaphoreFdKHR(VkDevice device, const VkIm } } + if (pImportSemaphoreFdInfo->handleType == VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_DRM_SYNCOBJ_BIT_EXT) { + if (!enabled_features.externalSemaphoreDrmSyncobj) { + skip |= LogError("VUID-VkImportSemaphoreFdInfoKHR-handleType-XXXXX", device, + info_loc.dot(Field::handleType), + "is VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_DRM_SYNCOBJ_BIT_EXT, but externalSemaphoreDrmSyncobj feature was not enabled."); + } + if (sem_state->type != VK_SEMAPHORE_TYPE_TIMELINE) { + skip |= LogError("VUID-VkImportSemaphoreFdInfoKHR-handleType-XXXXX", device, + info_loc.dot(Field::handleType), + "semaphoreType is %s.", string_VkSemaphoreType(sem_state->type)); + } + } + return skip; } diff --git a/layers/core_checks/cc_synchronization.cpp b/layers/core_checks/cc_synchronization.cpp index 20b85ac1212..1a1168abd67 100644 --- a/layers/core_checks/cc_synchronization.cpp +++ b/layers/core_checks/cc_synchronization.cpp @@ -671,8 +671,11 @@ bool CoreChecks::PreCallValidateCreateSemaphore(VkDevice device, const VkSemapho bool skip = false; auto sem_type_create_info = vku::FindStructInPNextChain(pCreateInfo->pNext); const Location create_info_loc = error_obj.location.dot(Field::pCreateInfo); + auto semaphoreType = VK_SEMAPHORE_TYPE_BINARY; if (sem_type_create_info) { + semaphoreType = sem_type_create_info->semaphoreType; + if (sem_type_create_info->semaphoreType == VK_SEMAPHORE_TYPE_TIMELINE && !enabled_features.timelineSemaphore) { skip |= LogError("VUID-VkSemaphoreTypeCreateInfo-timelineSemaphore-03252", device, create_info_loc.dot(Field::semaphoreType), @@ -714,6 +717,18 @@ bool CoreChecks::PreCallValidateCreateSemaphore(VkDevice device, const VkSemapho string_VkExternalSemaphoreHandleTypeFlags(sem_export_info->handleTypes).c_str(), string_VkExternalSemaphoreHandleTypeFlags(external_properties.compatibleHandleTypes).c_str()); } + if ((sem_export_info->handleTypes & VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_DRM_SYNCOBJ_BIT_EXT) != 0) { + if (!enabled_features.externalSemaphoreDrmSyncobj) { + skip |= LogError("VUID-VkExportSemaphoreCreateInfo-handleTypes-XXXXX", device, + create_info_loc.pNext(Struct::VkExportSemaphoreCreateInfo, Field::handleTypes), + "contains VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_DRM_SYNCOBJ_BIT_EXT, but externalSemaphoreDrmSyncobj feature was not enabled."); + } + if (semaphoreType != VK_SEMAPHORE_TYPE_TIMELINE) { + skip |= LogError("VUID-VkExportSemaphoreCreateInfo-handleTypes-XXXXX", device, + create_info_loc.pNext(Struct::VkExportSemaphoreCreateInfo, Field::handleTypes), + "semaphoreType is %s.", string_VkSemaphoreType(semaphoreType)); + } + } } return skip; diff --git a/layers/vulkan/generated/command_validation.cpp b/layers/vulkan/generated/command_validation.cpp index 16b92c8956a..ea8c32b0a15 100644 --- a/layers/vulkan/generated/command_validation.cpp +++ b/layers/vulkan/generated/command_validation.cpp @@ -24,7 +24,7 @@ #include "command_validation.h" #include "containers/custom_containers.h" -extern const char *kVUIDUndefined; +extern const char* kVUIDUndefined; using Func = vvl::Func; // clang-format off @@ -2609,7 +2609,7 @@ return kCommandValidationTable; } // clang-format on -const CommandValidationInfo &GetCommandValidationInfo(vvl::Func command) { +const CommandValidationInfo& GetCommandValidationInfo(vvl::Func command) { auto info_it = GetCommandValidationTable().find(command); assert(info_it != GetCommandValidationTable().end()); return info_it->second; diff --git a/layers/vulkan/generated/device_features.cpp b/layers/vulkan/generated/device_features.cpp index b5e3eb74f2e..18c2e76310a 100644 --- a/layers/vulkan/generated/device_features.cpp +++ b/layers/vulkan/generated/device_features.cpp @@ -26,15 +26,15 @@ #include "generated/vk_extension_helper.h" #include -void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatures *features, const APIVersion &api_version) { +void GetEnabledDeviceFeatures(const VkDeviceCreateInfo* pCreateInfo, DeviceFeatures* features, const APIVersion& api_version) { // Initialize all to false *features = {}; // handle VkPhysicalDeviceFeatures specially as it is not part of the pNext chain, // and when it is (through VkPhysicalDeviceFeatures2), it requires an extra indirection. - const VkPhysicalDeviceFeatures *core_features = pCreateInfo->pEnabledFeatures; + const VkPhysicalDeviceFeatures* core_features = pCreateInfo->pEnabledFeatures; if (core_features == nullptr) { - const VkPhysicalDeviceFeatures2 *features2 = vku::FindStructInPNextChain(pCreateInfo->pNext); + const VkPhysicalDeviceFeatures2* features2 = vku::FindStructInPNextChain(pCreateInfo->pNext); if (features2 != nullptr) { core_features = &features2->features; } @@ -97,18 +97,18 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu features->inheritedQueries = core_features->inheritedQueries == VK_TRUE; } - for (const VkBaseInStructure *pNext = reinterpret_cast(pCreateInfo->pNext); pNext != nullptr; + for (const VkBaseInStructure* pNext = reinterpret_cast(pCreateInfo->pNext); pNext != nullptr; pNext = pNext->pNext) { switch (pNext->sType) { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: { - const VkPhysicalDeviceProtectedMemoryFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceProtectedMemoryFeatures* enabled = + reinterpret_cast(pNext); features->protectedMemory |= enabled->protectedMemory == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: { - const VkPhysicalDevice16BitStorageFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevice16BitStorageFeatures* enabled = + reinterpret_cast(pNext); features->storageBuffer16BitAccess |= enabled->storageBuffer16BitAccess == VK_TRUE; features->uniformAndStorageBuffer16BitAccess |= enabled->uniformAndStorageBuffer16BitAccess == VK_TRUE; features->storagePushConstant16 |= enabled->storagePushConstant16 == VK_TRUE; @@ -116,34 +116,34 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: { - const VkPhysicalDeviceVariablePointersFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVariablePointersFeatures* enabled = + reinterpret_cast(pNext); features->variablePointersStorageBuffer |= enabled->variablePointersStorageBuffer == VK_TRUE; features->variablePointers |= enabled->variablePointers == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: { - const VkPhysicalDeviceSamplerYcbcrConversionFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceSamplerYcbcrConversionFeatures* enabled = + reinterpret_cast(pNext); features->samplerYcbcrConversion |= enabled->samplerYcbcrConversion == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: { - const VkPhysicalDeviceMultiviewFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMultiviewFeatures* enabled = + reinterpret_cast(pNext); features->multiview |= enabled->multiview == VK_TRUE; features->multiviewGeometryShader |= enabled->multiviewGeometryShader == VK_TRUE; features->multiviewTessellationShader |= enabled->multiviewTessellationShader == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: { - const VkPhysicalDeviceShaderDrawParametersFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderDrawParametersFeatures* enabled = + reinterpret_cast(pNext); features->shaderDrawParameters |= enabled->shaderDrawParameters == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES: { - const VkPhysicalDeviceVulkan11Features *enabled = reinterpret_cast(pNext); + const VkPhysicalDeviceVulkan11Features* enabled = reinterpret_cast(pNext); features->storageBuffer16BitAccess |= enabled->storageBuffer16BitAccess == VK_TRUE; features->uniformAndStorageBuffer16BitAccess |= enabled->uniformAndStorageBuffer16BitAccess == VK_TRUE; features->storagePushConstant16 |= enabled->storagePushConstant16 == VK_TRUE; @@ -159,7 +159,7 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES: { - const VkPhysicalDeviceVulkan12Features *enabled = reinterpret_cast(pNext); + const VkPhysicalDeviceVulkan12Features* enabled = reinterpret_cast(pNext); features->samplerMirrorClampToEdge |= enabled->samplerMirrorClampToEdge == VK_TRUE; features->drawIndirectCount |= enabled->drawIndirectCount == VK_TRUE; features->storageBuffer8BitAccess |= enabled->storageBuffer8BitAccess == VK_TRUE; @@ -228,8 +228,8 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES: { - const VkPhysicalDeviceVulkanMemoryModelFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVulkanMemoryModelFeatures* enabled = + reinterpret_cast(pNext); features->vulkanMemoryModel |= enabled->vulkanMemoryModel == VK_TRUE; features->vulkanMemoryModelDeviceScope |= enabled->vulkanMemoryModelDeviceScope == VK_TRUE; features->vulkanMemoryModelAvailabilityVisibilityChains |= @@ -237,50 +237,50 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES: { - const VkPhysicalDeviceHostQueryResetFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceHostQueryResetFeatures* enabled = + reinterpret_cast(pNext); features->hostQueryReset |= enabled->hostQueryReset == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES: { - const VkPhysicalDeviceTimelineSemaphoreFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTimelineSemaphoreFeatures* enabled = + reinterpret_cast(pNext); features->timelineSemaphore |= enabled->timelineSemaphore == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES: { - const VkPhysicalDeviceBufferDeviceAddressFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceBufferDeviceAddressFeatures* enabled = + reinterpret_cast(pNext); features->bufferDeviceAddress |= enabled->bufferDeviceAddress == VK_TRUE; features->bufferDeviceAddressCaptureReplay |= enabled->bufferDeviceAddressCaptureReplay == VK_TRUE; features->bufferDeviceAddressMultiDevice |= enabled->bufferDeviceAddressMultiDevice == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: { - const VkPhysicalDevice8BitStorageFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevice8BitStorageFeatures* enabled = + reinterpret_cast(pNext); features->storageBuffer8BitAccess |= enabled->storageBuffer8BitAccess == VK_TRUE; features->uniformAndStorageBuffer8BitAccess |= enabled->uniformAndStorageBuffer8BitAccess == VK_TRUE; features->storagePushConstant8 |= enabled->storagePushConstant8 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES: { - const VkPhysicalDeviceShaderAtomicInt64Features *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderAtomicInt64Features* enabled = + reinterpret_cast(pNext); features->shaderBufferInt64Atomics |= enabled->shaderBufferInt64Atomics == VK_TRUE; features->shaderSharedInt64Atomics |= enabled->shaderSharedInt64Atomics == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES: { - const VkPhysicalDeviceShaderFloat16Int8Features *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderFloat16Int8Features* enabled = + reinterpret_cast(pNext); features->shaderFloat16 |= enabled->shaderFloat16 == VK_TRUE; features->shaderInt8 |= enabled->shaderInt8 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES: { - const VkPhysicalDeviceDescriptorIndexingFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDescriptorIndexingFeatures* enabled = + reinterpret_cast(pNext); features->shaderInputAttachmentArrayDynamicIndexing |= enabled->shaderInputAttachmentArrayDynamicIndexing == VK_TRUE; features->shaderUniformTexelBufferArrayDynamicIndexing |= @@ -321,37 +321,37 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: { - const VkPhysicalDeviceScalarBlockLayoutFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceScalarBlockLayoutFeatures* enabled = + reinterpret_cast(pNext); features->scalarBlockLayout |= enabled->scalarBlockLayout == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES: { - const VkPhysicalDeviceUniformBufferStandardLayoutFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceUniformBufferStandardLayoutFeatures* enabled = + reinterpret_cast(pNext); features->uniformBufferStandardLayout |= enabled->uniformBufferStandardLayout == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES: { - const VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures* enabled = + reinterpret_cast(pNext); features->shaderSubgroupExtendedTypes |= enabled->shaderSubgroupExtendedTypes == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES: { - const VkPhysicalDeviceImagelessFramebufferFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImagelessFramebufferFeatures* enabled = + reinterpret_cast(pNext); features->imagelessFramebuffer |= enabled->imagelessFramebuffer == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES: { - const VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures* enabled = + reinterpret_cast(pNext); features->separateDepthStencilLayouts |= enabled->separateDepthStencilLayouts == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES: { - const VkPhysicalDeviceVulkan13Features *enabled = reinterpret_cast(pNext); + const VkPhysicalDeviceVulkan13Features* enabled = reinterpret_cast(pNext); features->robustImageAccess |= enabled->robustImageAccess == VK_TRUE; features->inlineUniformBlock |= enabled->inlineUniformBlock == VK_TRUE; features->descriptorBindingInlineUniformBlockUpdateAfterBind |= @@ -371,88 +371,88 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES: { - const VkPhysicalDevicePrivateDataFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePrivateDataFeatures* enabled = + reinterpret_cast(pNext); features->privateData |= enabled->privateData == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES: { - const VkPhysicalDeviceSynchronization2Features *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceSynchronization2Features* enabled = + reinterpret_cast(pNext); features->synchronization2 |= enabled->synchronization2 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES: { - const VkPhysicalDeviceTextureCompressionASTCHDRFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTextureCompressionASTCHDRFeatures* enabled = + reinterpret_cast(pNext); features->textureCompressionASTC_HDR |= enabled->textureCompressionASTC_HDR == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES: { - const VkPhysicalDeviceMaintenance4Features *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMaintenance4Features* enabled = + reinterpret_cast(pNext); features->maintenance4 |= enabled->maintenance4 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES: { - const VkPhysicalDeviceShaderTerminateInvocationFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderTerminateInvocationFeatures* enabled = + reinterpret_cast(pNext); features->shaderTerminateInvocation |= enabled->shaderTerminateInvocation == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES: { - const VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures* enabled = + reinterpret_cast(pNext); features->shaderDemoteToHelperInvocation |= enabled->shaderDemoteToHelperInvocation == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES: { - const VkPhysicalDevicePipelineCreationCacheControlFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelineCreationCacheControlFeatures* enabled = + reinterpret_cast(pNext); features->pipelineCreationCacheControl |= enabled->pipelineCreationCacheControl == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES: { - const VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures* enabled = + reinterpret_cast(pNext); features->shaderZeroInitializeWorkgroupMemory |= enabled->shaderZeroInitializeWorkgroupMemory == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES: { - const VkPhysicalDeviceImageRobustnessFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImageRobustnessFeatures* enabled = + reinterpret_cast(pNext); features->robustImageAccess |= enabled->robustImageAccess == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES: { - const VkPhysicalDeviceSubgroupSizeControlFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceSubgroupSizeControlFeatures* enabled = + reinterpret_cast(pNext); features->subgroupSizeControl |= enabled->subgroupSizeControl == VK_TRUE; features->computeFullSubgroups |= enabled->computeFullSubgroups == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES: { - const VkPhysicalDeviceInlineUniformBlockFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceInlineUniformBlockFeatures* enabled = + reinterpret_cast(pNext); features->inlineUniformBlock |= enabled->inlineUniformBlock == VK_TRUE; features->descriptorBindingInlineUniformBlockUpdateAfterBind |= enabled->descriptorBindingInlineUniformBlockUpdateAfterBind == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES: { - const VkPhysicalDeviceShaderIntegerDotProductFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderIntegerDotProductFeatures* enabled = + reinterpret_cast(pNext); features->shaderIntegerDotProduct |= enabled->shaderIntegerDotProduct == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES: { - const VkPhysicalDeviceDynamicRenderingFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDynamicRenderingFeatures* enabled = + reinterpret_cast(pNext); features->dynamicRendering |= enabled->dynamicRendering == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_FEATURES: { - const VkPhysicalDeviceVulkan14Features *enabled = reinterpret_cast(pNext); + const VkPhysicalDeviceVulkan14Features* enabled = reinterpret_cast(pNext); features->globalPriorityQuery |= enabled->globalPriorityQuery == VK_TRUE; features->shaderSubgroupRotate |= enabled->shaderSubgroupRotate == VK_TRUE; features->shaderSubgroupRotateClustered |= enabled->shaderSubgroupRotateClustered == VK_TRUE; @@ -477,69 +477,69 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES: { - const VkPhysicalDeviceGlobalPriorityQueryFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceGlobalPriorityQueryFeatures* enabled = + reinterpret_cast(pNext); features->globalPriorityQuery |= enabled->globalPriorityQuery == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES: { - const VkPhysicalDeviceIndexTypeUint8Features *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceIndexTypeUint8Features* enabled = + reinterpret_cast(pNext); features->indexTypeUint8 |= enabled->indexTypeUint8 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES: { - const VkPhysicalDeviceMaintenance5Features *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMaintenance5Features* enabled = + reinterpret_cast(pNext); features->maintenance5 |= enabled->maintenance5 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES: { - const VkPhysicalDeviceMaintenance6Features *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMaintenance6Features* enabled = + reinterpret_cast(pNext); features->maintenance6 |= enabled->maintenance6 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES: { - const VkPhysicalDeviceHostImageCopyFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceHostImageCopyFeatures* enabled = + reinterpret_cast(pNext); features->hostImageCopy |= enabled->hostImageCopy == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES: { - const VkPhysicalDeviceShaderSubgroupRotateFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderSubgroupRotateFeatures* enabled = + reinterpret_cast(pNext); features->shaderSubgroupRotate |= enabled->shaderSubgroupRotate == VK_TRUE; features->shaderSubgroupRotateClustered |= enabled->shaderSubgroupRotateClustered == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES: { - const VkPhysicalDeviceShaderFloatControls2Features *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderFloatControls2Features* enabled = + reinterpret_cast(pNext); features->shaderFloatControls2 |= enabled->shaderFloatControls2 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES: { - const VkPhysicalDeviceShaderExpectAssumeFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderExpectAssumeFeatures* enabled = + reinterpret_cast(pNext); features->shaderExpectAssume |= enabled->shaderExpectAssume == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES: { - const VkPhysicalDevicePipelineProtectedAccessFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelineProtectedAccessFeatures* enabled = + reinterpret_cast(pNext); features->pipelineProtectedAccess |= enabled->pipelineProtectedAccess == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES: { - const VkPhysicalDevicePipelineRobustnessFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelineRobustnessFeatures* enabled = + reinterpret_cast(pNext); features->pipelineRobustness |= enabled->pipelineRobustness == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES: { - const VkPhysicalDeviceLineRasterizationFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceLineRasterizationFeatures* enabled = + reinterpret_cast(pNext); features->rectangularLines |= enabled->rectangularLines == VK_TRUE; features->bresenhamLines |= enabled->bresenhamLines == VK_TRUE; features->smoothLines |= enabled->smoothLines == VK_TRUE; @@ -549,28 +549,28 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES: { - const VkPhysicalDeviceVertexAttributeDivisorFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVertexAttributeDivisorFeatures* enabled = + reinterpret_cast(pNext); features->vertexAttributeInstanceRateDivisor |= enabled->vertexAttributeInstanceRateDivisor == VK_TRUE; features->vertexAttributeInstanceRateZeroDivisor |= enabled->vertexAttributeInstanceRateZeroDivisor == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES: { - const VkPhysicalDeviceDynamicRenderingLocalReadFeatures *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDynamicRenderingLocalReadFeatures* enabled = + reinterpret_cast(pNext); features->dynamicRenderingLocalRead |= enabled->dynamicRenderingLocalRead == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR: { - const VkPhysicalDevicePerformanceQueryFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePerformanceQueryFeaturesKHR* enabled = + reinterpret_cast(pNext); features->performanceCounterQueryPools |= enabled->performanceCounterQueryPools == VK_TRUE; features->performanceCounterMultipleQueryPools |= enabled->performanceCounterMultipleQueryPools == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_BFLOAT16_FEATURES_KHR: { - const VkPhysicalDeviceShaderBfloat16FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderBfloat16FeaturesKHR* enabled = + reinterpret_cast(pNext); features->shaderBFloat16Type |= enabled->shaderBFloat16Type == VK_TRUE; features->shaderBFloat16DotProduct |= enabled->shaderBFloat16DotProduct == VK_TRUE; features->shaderBFloat16CooperativeMatrix |= enabled->shaderBFloat16CooperativeMatrix == VK_TRUE; @@ -578,8 +578,8 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu } #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR: { - const VkPhysicalDevicePortabilitySubsetFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePortabilitySubsetFeaturesKHR* enabled = + reinterpret_cast(pNext); features->constantAlphaColorBlendFactors |= enabled->constantAlphaColorBlendFactors == VK_TRUE; features->events |= enabled->events == VK_TRUE; features->imageViewFormatReinterpretation |= enabled->imageViewFormatReinterpretation == VK_TRUE; @@ -599,59 +599,59 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu } #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR: { - const VkPhysicalDeviceShaderClockFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderClockFeaturesKHR* enabled = + reinterpret_cast(pNext); features->shaderSubgroupClock |= enabled->shaderSubgroupClock == VK_TRUE; features->shaderDeviceClock |= enabled->shaderDeviceClock == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR: { - const VkPhysicalDeviceFragmentShadingRateFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFragmentShadingRateFeaturesKHR* enabled = + reinterpret_cast(pNext); features->pipelineFragmentShadingRate |= enabled->pipelineFragmentShadingRate == VK_TRUE; features->primitiveFragmentShadingRate |= enabled->primitiveFragmentShadingRate == VK_TRUE; features->attachmentFragmentShadingRate |= enabled->attachmentFragmentShadingRate == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_QUAD_CONTROL_FEATURES_KHR: { - const VkPhysicalDeviceShaderQuadControlFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderQuadControlFeaturesKHR* enabled = + reinterpret_cast(pNext); features->shaderQuadControl |= enabled->shaderQuadControl == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR: { - const VkPhysicalDevicePresentWaitFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePresentWaitFeaturesKHR* enabled = + reinterpret_cast(pNext); features->presentWait |= enabled->presentWait == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR: { - const VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR* enabled = + reinterpret_cast(pNext); features->pipelineExecutableInfo |= enabled->pipelineExecutableInfo == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR: { - const VkPhysicalDevicePresentIdFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePresentIdFeaturesKHR* enabled = + reinterpret_cast(pNext); features->presentId |= enabled->presentId == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR: { - const VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR* enabled = + reinterpret_cast(pNext); features->fragmentShaderBarycentric |= enabled->fragmentShaderBarycentric == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR: { - const VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR* enabled = + reinterpret_cast(pNext); features->shaderSubgroupUniformControlFlow |= enabled->shaderSubgroupUniformControlFlow == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR: { - const VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR* enabled = + reinterpret_cast(pNext); features->workgroupMemoryExplicitLayout |= enabled->workgroupMemoryExplicitLayout == VK_TRUE; features->workgroupMemoryExplicitLayoutScalarBlockLayout |= enabled->workgroupMemoryExplicitLayoutScalarBlockLayout == VK_TRUE; @@ -660,379 +660,379 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MAINTENANCE_1_FEATURES_KHR: { - const VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR* enabled = + reinterpret_cast(pNext); features->rayTracingMaintenance1 |= enabled->rayTracingMaintenance1 == VK_TRUE; features->rayTracingPipelineTraceRaysIndirect2 |= enabled->rayTracingPipelineTraceRaysIndirect2 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNTYPED_POINTERS_FEATURES_KHR: { - const VkPhysicalDeviceShaderUntypedPointersFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderUntypedPointersFeaturesKHR* enabled = + reinterpret_cast(pNext); features->shaderUntypedPointers |= enabled->shaderUntypedPointers == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR: { - const VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR* enabled = + reinterpret_cast(pNext); features->shaderMaximalReconvergence |= enabled->shaderMaximalReconvergence == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_2_FEATURES_KHR: { - const VkPhysicalDevicePresentId2FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePresentId2FeaturesKHR* enabled = + reinterpret_cast(pNext); features->presentId2 |= enabled->presentId2 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_2_FEATURES_KHR: { - const VkPhysicalDevicePresentWait2FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePresentWait2FeaturesKHR* enabled = + reinterpret_cast(pNext); features->presentWait2 |= enabled->presentWait2 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR: { - const VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR* enabled = + reinterpret_cast(pNext); features->rayTracingPositionFetch |= enabled->rayTracingPositionFetch == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_BINARY_FEATURES_KHR: { - const VkPhysicalDevicePipelineBinaryFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelineBinaryFeaturesKHR* enabled = + reinterpret_cast(pNext); features->pipelineBinaries |= enabled->pipelineBinaries == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_KHR: { - const VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR* enabled = + reinterpret_cast(pNext); features->swapchainMaintenance1 |= enabled->swapchainMaintenance1 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INTERNALLY_SYNCHRONIZED_QUEUES_FEATURES_KHR: { - const VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR* enabled = + reinterpret_cast(pNext); features->internallySynchronizedQueues |= enabled->internallySynchronizedQueues == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_KHR: { - const VkPhysicalDeviceCooperativeMatrixFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCooperativeMatrixFeaturesKHR* enabled = + reinterpret_cast(pNext); features->cooperativeMatrix |= enabled->cooperativeMatrix == VK_TRUE; features->cooperativeMatrixRobustBufferAccess |= enabled->cooperativeMatrixRobustBufferAccess == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_KHR: { - const VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR* enabled = + reinterpret_cast(pNext); features->computeDerivativeGroupQuads |= enabled->computeDerivativeGroupQuads == VK_TRUE; features->computeDerivativeGroupLinear |= enabled->computeDerivativeGroupLinear == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_AV1_FEATURES_KHR: { - const VkPhysicalDeviceVideoEncodeAV1FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVideoEncodeAV1FeaturesKHR* enabled = + reinterpret_cast(pNext); features->videoEncodeAV1 |= enabled->videoEncodeAV1 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_DECODE_VP9_FEATURES_KHR: { - const VkPhysicalDeviceVideoDecodeVP9FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVideoDecodeVP9FeaturesKHR* enabled = + reinterpret_cast(pNext); features->videoDecodeVP9 |= enabled->videoDecodeVP9 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR: { - const VkPhysicalDeviceVideoMaintenance1FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVideoMaintenance1FeaturesKHR* enabled = + reinterpret_cast(pNext); features->videoMaintenance1 |= enabled->videoMaintenance1 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFIED_IMAGE_LAYOUTS_FEATURES_KHR: { - const VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR* enabled = + reinterpret_cast(pNext); features->unifiedImageLayouts |= enabled->unifiedImageLayouts == VK_TRUE; features->unifiedImageLayoutsVideo |= enabled->unifiedImageLayoutsVideo == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_KHR: { - const VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR* enabled = + reinterpret_cast(pNext); features->indirectMemoryCopy |= enabled->indirectMemoryCopy == VK_TRUE; features->indirectMemoryToImageCopy |= enabled->indirectMemoryToImageCopy == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_INTRA_REFRESH_FEATURES_KHR: { - const VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR* enabled = + reinterpret_cast(pNext); features->videoEncodeIntraRefresh |= enabled->videoEncodeIntraRefresh == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUANTIZATION_MAP_FEATURES_KHR: { - const VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR* enabled = + reinterpret_cast(pNext); features->videoEncodeQuantizationMap |= enabled->videoEncodeQuantizationMap == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: { - const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* enabled = + reinterpret_cast(pNext); features->shaderRelaxedExtendedInstruction |= enabled->shaderRelaxedExtendedInstruction == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: { - const VkPhysicalDeviceMaintenance7FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMaintenance7FeaturesKHR* enabled = + reinterpret_cast(pNext); features->maintenance7 |= enabled->maintenance7 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_8_FEATURES_KHR: { - const VkPhysicalDeviceMaintenance8FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMaintenance8FeaturesKHR* enabled = + reinterpret_cast(pNext); features->maintenance8 |= enabled->maintenance8 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FMA_FEATURES_KHR: { - const VkPhysicalDeviceShaderFmaFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderFmaFeaturesKHR* enabled = + reinterpret_cast(pNext); features->shaderFmaFloat16 |= enabled->shaderFmaFloat16 == VK_TRUE; features->shaderFmaFloat32 |= enabled->shaderFmaFloat32 == VK_TRUE; features->shaderFmaFloat64 |= enabled->shaderFmaFloat64 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_9_FEATURES_KHR: { - const VkPhysicalDeviceMaintenance9FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMaintenance9FeaturesKHR* enabled = + reinterpret_cast(pNext); features->maintenance9 |= enabled->maintenance9 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR: { - const VkPhysicalDeviceVideoMaintenance2FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVideoMaintenance2FeaturesKHR* enabled = + reinterpret_cast(pNext); features->videoMaintenance2 |= enabled->videoMaintenance2 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR: { - const VkPhysicalDeviceDepthClampZeroOneFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDepthClampZeroOneFeaturesKHR* enabled = + reinterpret_cast(pNext); features->depthClampZeroOne |= enabled->depthClampZeroOne == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_KHR: { - const VkPhysicalDeviceRobustness2FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRobustness2FeaturesKHR* enabled = + reinterpret_cast(pNext); features->robustBufferAccess2 |= enabled->robustBufferAccess2 == VK_TRUE; features->robustImageAccess2 |= enabled->robustImageAccess2 == VK_TRUE; features->nullDescriptor |= enabled->nullDescriptor == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_KHR: { - const VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR* enabled = + reinterpret_cast(pNext); features->presentModeFifoLatestReady |= enabled->presentModeFifoLatestReady == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_10_FEATURES_KHR: { - const VkPhysicalDeviceMaintenance10FeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMaintenance10FeaturesKHR* enabled = + reinterpret_cast(pNext); features->maintenance10 |= enabled->maintenance10 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: { - const VkPhysicalDeviceTransformFeedbackFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTransformFeedbackFeaturesEXT* enabled = + reinterpret_cast(pNext); features->transformFeedback |= enabled->transformFeedback == VK_TRUE; features->geometryStreams |= enabled->geometryStreams == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV: { - const VkPhysicalDeviceCornerSampledImageFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCornerSampledImageFeaturesNV* enabled = + reinterpret_cast(pNext); features->cornerSampledImage |= enabled->cornerSampledImage == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT: { - const VkPhysicalDeviceASTCDecodeFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceASTCDecodeFeaturesEXT* enabled = + reinterpret_cast(pNext); features->decodeModeSharedExponent |= enabled->decodeModeSharedExponent == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT: { - const VkPhysicalDeviceConditionalRenderingFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceConditionalRenderingFeaturesEXT* enabled = + reinterpret_cast(pNext); features->conditionalRendering |= enabled->conditionalRendering == VK_TRUE; features->inheritedConditionalRendering |= enabled->inheritedConditionalRendering == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: { - const VkPhysicalDeviceDepthClipEnableFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDepthClipEnableFeaturesEXT* enabled = + reinterpret_cast(pNext); features->depthClipEnable |= enabled->depthClipEnable == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG: { - const VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG* enabled = + reinterpret_cast(pNext); features->relaxedLineRasterization |= enabled->relaxedLineRasterization == VK_TRUE; break; } #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX: { - const VkPhysicalDeviceShaderEnqueueFeaturesAMDX *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderEnqueueFeaturesAMDX* enabled = + reinterpret_cast(pNext); features->shaderEnqueue |= enabled->shaderEnqueue == VK_TRUE; features->shaderMeshEnqueue |= enabled->shaderMeshEnqueue == VK_TRUE; break; } #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_FEATURES_EXT: { - const VkPhysicalDeviceDescriptorHeapFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDescriptorHeapFeaturesEXT* enabled = + reinterpret_cast(pNext); features->descriptorHeap |= enabled->descriptorHeap == VK_TRUE; features->descriptorHeapCaptureReplay |= enabled->descriptorHeapCaptureReplay == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT: { - const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* enabled = + reinterpret_cast(pNext); features->advancedBlendCoherentOperations |= enabled->advancedBlendCoherentOperations == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV: { - const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* enabled = + reinterpret_cast(pNext); features->shaderSMBuiltins |= enabled->shaderSMBuiltins == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV: { - const VkPhysicalDeviceShadingRateImageFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShadingRateImageFeaturesNV* enabled = + reinterpret_cast(pNext); features->shadingRateImage |= enabled->shadingRateImage == VK_TRUE; features->shadingRateCoarseSampleOrder |= enabled->shadingRateCoarseSampleOrder == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV: { - const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* enabled = + reinterpret_cast(pNext); features->representativeFragmentTest |= enabled->representativeFragmentTest == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_CONVERSION_FEATURES_QCOM: { - const VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->cooperativeMatrixConversion |= enabled->cooperativeMatrixConversion == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV: { - const VkPhysicalDeviceMeshShaderFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMeshShaderFeaturesNV* enabled = + reinterpret_cast(pNext); features->taskShader |= enabled->taskShader == VK_TRUE; features->meshShader |= enabled->meshShader == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV: { - const VkPhysicalDeviceShaderImageFootprintFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderImageFootprintFeaturesNV* enabled = + reinterpret_cast(pNext); features->imageFootprint |= enabled->imageFootprint == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV: { - const VkPhysicalDeviceExclusiveScissorFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceExclusiveScissorFeaturesNV* enabled = + reinterpret_cast(pNext); features->exclusiveScissor |= enabled->exclusiveScissor == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_TIMING_FEATURES_EXT: { - const VkPhysicalDevicePresentTimingFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePresentTimingFeaturesEXT* enabled = + reinterpret_cast(pNext); features->presentTiming |= enabled->presentTiming == VK_TRUE; features->presentAtAbsoluteTime |= enabled->presentAtAbsoluteTime == VK_TRUE; features->presentAtRelativeTime |= enabled->presentAtRelativeTime == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: { - const VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL* enabled = + reinterpret_cast(pNext); features->shaderIntegerFunctions2 |= enabled->shaderIntegerFunctions2 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: { - const VkPhysicalDeviceFragmentDensityMapFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* enabled = + reinterpret_cast(pNext); features->fragmentDensityMap |= enabled->fragmentDensityMap == VK_TRUE; features->fragmentDensityMapDynamic |= enabled->fragmentDensityMapDynamic == VK_TRUE; features->fragmentDensityMapNonSubsampledImages |= enabled->fragmentDensityMapNonSubsampledImages == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD: { - const VkPhysicalDeviceCoherentMemoryFeaturesAMD *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCoherentMemoryFeaturesAMD* enabled = + reinterpret_cast(pNext); features->deviceCoherentMemory |= enabled->deviceCoherentMemory == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT: { - const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderImageInt64Atomics |= enabled->shaderImageInt64Atomics == VK_TRUE; features->sparseImageInt64Atomics |= enabled->sparseImageInt64Atomics == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT: { - const VkPhysicalDeviceMemoryPriorityFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMemoryPriorityFeaturesEXT* enabled = + reinterpret_cast(pNext); features->memoryPriority |= enabled->memoryPriority == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV: { - const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* enabled = + reinterpret_cast(pNext); features->dedicatedAllocationImageAliasing |= enabled->dedicatedAllocationImageAliasing == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: { - const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* enabled = + reinterpret_cast(pNext); features->bufferDeviceAddressEXT |= enabled->bufferDeviceAddress == VK_TRUE; features->bufferDeviceAddressCaptureReplayEXT |= enabled->bufferDeviceAddressCaptureReplay == VK_TRUE; features->bufferDeviceAddressMultiDeviceEXT |= enabled->bufferDeviceAddressMultiDevice == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: { - const VkPhysicalDeviceCooperativeMatrixFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCooperativeMatrixFeaturesNV* enabled = + reinterpret_cast(pNext); features->cooperativeMatrix |= enabled->cooperativeMatrix == VK_TRUE; features->cooperativeMatrixRobustBufferAccess |= enabled->cooperativeMatrixRobustBufferAccess == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV: { - const VkPhysicalDeviceCoverageReductionModeFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCoverageReductionModeFeaturesNV* enabled = + reinterpret_cast(pNext); features->coverageReductionMode |= enabled->coverageReductionMode == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT: { - const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* enabled = + reinterpret_cast(pNext); features->fragmentShaderSampleInterlock |= enabled->fragmentShaderSampleInterlock == VK_TRUE; features->fragmentShaderPixelInterlock |= enabled->fragmentShaderPixelInterlock == VK_TRUE; features->fragmentShaderShadingRateInterlock |= enabled->fragmentShaderShadingRateInterlock == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT: { - const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* enabled = + reinterpret_cast(pNext); features->ycbcrImageArrays |= enabled->ycbcrImageArrays == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT: { - const VkPhysicalDeviceProvokingVertexFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceProvokingVertexFeaturesEXT* enabled = + reinterpret_cast(pNext); features->provokingVertexLast |= enabled->provokingVertexLast == VK_TRUE; features->transformFeedbackPreservesProvokingVertex |= enabled->transformFeedbackPreservesProvokingVertex == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT: { - const VkPhysicalDeviceShaderAtomicFloatFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderAtomicFloatFeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderBufferFloat32Atomics |= enabled->shaderBufferFloat32Atomics == VK_TRUE; features->shaderBufferFloat32AtomicAdd |= enabled->shaderBufferFloat32AtomicAdd == VK_TRUE; features->shaderBufferFloat64Atomics |= enabled->shaderBufferFloat64Atomics == VK_TRUE; @@ -1048,22 +1048,22 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT: { - const VkPhysicalDeviceExtendedDynamicStateFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceExtendedDynamicStateFeaturesEXT* enabled = + reinterpret_cast(pNext); features->extendedDynamicState |= enabled->extendedDynamicState == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT: { - const VkPhysicalDeviceMapMemoryPlacedFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMapMemoryPlacedFeaturesEXT* enabled = + reinterpret_cast(pNext); features->memoryMapPlaced |= enabled->memoryMapPlaced == VK_TRUE; features->memoryMapRangePlaced |= enabled->memoryMapRangePlaced == VK_TRUE; features->memoryUnmapReserve |= enabled->memoryUnmapReserve == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT: { - const VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderBufferFloat16Atomics |= enabled->shaderBufferFloat16Atomics == VK_TRUE; features->shaderBufferFloat16AtomicAdd |= enabled->shaderBufferFloat16AtomicAdd == VK_TRUE; features->shaderBufferFloat16AtomicMinMax |= enabled->shaderBufferFloat16AtomicMinMax == VK_TRUE; @@ -1079,26 +1079,26 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV: { - const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV* enabled = + reinterpret_cast(pNext); features->deviceGeneratedCommandsNV |= enabled->deviceGeneratedCommands == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV: { - const VkPhysicalDeviceInheritedViewportScissorFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceInheritedViewportScissorFeaturesNV* enabled = + reinterpret_cast(pNext); features->inheritedViewportScissor2D |= enabled->inheritedViewportScissor2D == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: { - const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* enabled = + reinterpret_cast(pNext); features->texelBufferAlignment |= enabled->texelBufferAlignment == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT: { - const VkPhysicalDeviceDepthBiasControlFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDepthBiasControlFeaturesEXT* enabled = + reinterpret_cast(pNext); features->depthBiasControl |= enabled->depthBiasControl == VK_TRUE; features->leastRepresentableValueForceUnormRepresentation |= enabled->leastRepresentableValueForceUnormRepresentation == VK_TRUE; @@ -1107,47 +1107,47 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT: { - const VkPhysicalDeviceDeviceMemoryReportFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDeviceMemoryReportFeaturesEXT* enabled = + reinterpret_cast(pNext); features->deviceMemoryReport |= enabled->deviceMemoryReport == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT: { - const VkPhysicalDeviceCustomBorderColorFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCustomBorderColorFeaturesEXT* enabled = + reinterpret_cast(pNext); features->customBorderColors |= enabled->customBorderColors == VK_TRUE; features->customBorderColorWithoutFormat |= enabled->customBorderColorWithoutFormat == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT: { - const VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT* enabled = + reinterpret_cast(pNext); features->textureCompressionASTC_3D |= enabled->textureCompressionASTC_3D == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV: { - const VkPhysicalDevicePresentBarrierFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePresentBarrierFeaturesNV* enabled = + reinterpret_cast(pNext); features->presentBarrier |= enabled->presentBarrier == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV: { - const VkPhysicalDeviceDiagnosticsConfigFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDiagnosticsConfigFeaturesNV* enabled = + reinterpret_cast(pNext); features->diagnosticsConfig |= enabled->diagnosticsConfig == VK_TRUE; break; } #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV: { - const VkPhysicalDeviceCudaKernelLaunchFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCudaKernelLaunchFeaturesNV* enabled = + reinterpret_cast(pNext); features->cudaKernelLaunchFeatures |= enabled->cudaKernelLaunchFeatures == VK_TRUE; break; } #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_SHADING_FEATURES_QCOM: { - const VkPhysicalDeviceTileShadingFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTileShadingFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->tileShading |= enabled->tileShading == VK_TRUE; features->tileShadingFragmentStage |= enabled->tileShadingFragmentStage == VK_TRUE; features->tileShadingColorAttachments |= enabled->tileShadingColorAttachments == VK_TRUE; @@ -1165,8 +1165,8 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_FEATURES_EXT: { - const VkPhysicalDeviceDescriptorBufferFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDescriptorBufferFeaturesEXT* enabled = + reinterpret_cast(pNext); features->descriptorBuffer |= enabled->descriptorBuffer == VK_TRUE; features->descriptorBufferCaptureReplay |= enabled->descriptorBufferCaptureReplay == VK_TRUE; features->descriptorBufferImageLayoutIgnored |= enabled->descriptorBufferImageLayoutIgnored == VK_TRUE; @@ -1174,73 +1174,73 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT: { - const VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT* enabled = + reinterpret_cast(pNext); features->graphicsPipelineLibrary |= enabled->graphicsPipelineLibrary == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD: { - const VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD* enabled = + reinterpret_cast(pNext); features->shaderEarlyAndLateFragmentTests |= enabled->shaderEarlyAndLateFragmentTests == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV: { - const VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV* enabled = + reinterpret_cast(pNext); features->fragmentShadingRateEnums |= enabled->fragmentShadingRateEnums == VK_TRUE; features->supersampleFragmentShadingRates |= enabled->supersampleFragmentShadingRates == VK_TRUE; features->noInvocationFragmentShadingRates |= enabled->noInvocationFragmentShadingRates == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MOTION_BLUR_FEATURES_NV: { - const VkPhysicalDeviceRayTracingMotionBlurFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayTracingMotionBlurFeaturesNV* enabled = + reinterpret_cast(pNext); features->rayTracingMotionBlur |= enabled->rayTracingMotionBlur == VK_TRUE; features->rayTracingMotionBlurPipelineTraceRaysIndirect |= enabled->rayTracingMotionBlurPipelineTraceRaysIndirect == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT: { - const VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT* enabled = + reinterpret_cast(pNext); features->ycbcr2plane444Formats |= enabled->ycbcr2plane444Formats == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT: { - const VkPhysicalDeviceFragmentDensityMap2FeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFragmentDensityMap2FeaturesEXT* enabled = + reinterpret_cast(pNext); features->fragmentDensityMapDeferred |= enabled->fragmentDensityMapDeferred == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT: { - const VkPhysicalDeviceImageCompressionControlFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImageCompressionControlFeaturesEXT* enabled = + reinterpret_cast(pNext); features->imageCompressionControl |= enabled->imageCompressionControl == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT: { - const VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT* enabled = + reinterpret_cast(pNext); features->attachmentFeedbackLoopLayout |= enabled->attachmentFeedbackLoopLayout == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT: { - const VkPhysicalDevice4444FormatsFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevice4444FormatsFeaturesEXT* enabled = + reinterpret_cast(pNext); features->formatA4R4G4B4 |= enabled->formatA4R4G4B4 == VK_TRUE; features->formatA4B4G4R4 |= enabled->formatA4B4G4R4 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT: { - const VkPhysicalDeviceFaultFeaturesEXT *enabled = reinterpret_cast(pNext); + const VkPhysicalDeviceFaultFeaturesEXT* enabled = reinterpret_cast(pNext); features->deviceFault |= enabled->deviceFault == VK_TRUE; features->deviceFaultVendorBinary |= enabled->deviceFaultVendorBinary == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_EXT: { - const VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT* enabled = + reinterpret_cast(pNext); features->rasterizationOrderColorAttachmentAccess |= enabled->rasterizationOrderColorAttachmentAccess == VK_TRUE; features->rasterizationOrderDepthAttachmentAccess |= enabled->rasterizationOrderDepthAttachmentAccess == VK_TRUE; features->rasterizationOrderStencilAttachmentAccess |= @@ -1248,95 +1248,95 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXT: { - const VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT* enabled = + reinterpret_cast(pNext); features->formatRgba10x6WithoutYCbCrSampler |= enabled->formatRgba10x6WithoutYCbCrSampler == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT: { - const VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT* enabled = + reinterpret_cast(pNext); features->mutableDescriptorType |= enabled->mutableDescriptorType == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT: { - const VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT* enabled = + reinterpret_cast(pNext); features->vertexInputDynamicState |= enabled->vertexInputDynamicState == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ADDRESS_BINDING_REPORT_FEATURES_EXT: { - const VkPhysicalDeviceAddressBindingReportFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceAddressBindingReportFeaturesEXT* enabled = + reinterpret_cast(pNext); features->reportAddressBinding |= enabled->reportAddressBinding == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: { - const VkPhysicalDeviceDepthClipControlFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDepthClipControlFeaturesEXT* enabled = + reinterpret_cast(pNext); features->depthClipControl |= enabled->depthClipControl == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT: { - const VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT* enabled = + reinterpret_cast(pNext); features->primitiveTopologyListRestart |= enabled->primitiveTopologyListRestart == VK_TRUE; features->primitiveTopologyPatchListRestart |= enabled->primitiveTopologyPatchListRestart == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI: { - const VkPhysicalDeviceSubpassShadingFeaturesHUAWEI *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceSubpassShadingFeaturesHUAWEI* enabled = + reinterpret_cast(pNext); features->subpassShading |= enabled->subpassShading == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI: { - const VkPhysicalDeviceInvocationMaskFeaturesHUAWEI *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceInvocationMaskFeaturesHUAWEI* enabled = + reinterpret_cast(pNext); features->invocationMask |= enabled->invocationMask == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV: { - const VkPhysicalDeviceExternalMemoryRDMAFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceExternalMemoryRDMAFeaturesNV* enabled = + reinterpret_cast(pNext); features->externalMemoryRDMA |= enabled->externalMemoryRDMA == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT: { - const VkPhysicalDevicePipelinePropertiesFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelinePropertiesFeaturesEXT* enabled = + reinterpret_cast(pNext); features->pipelinePropertiesIdentifier |= enabled->pipelinePropertiesIdentifier == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAME_BOUNDARY_FEATURES_EXT: { - const VkPhysicalDeviceFrameBoundaryFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFrameBoundaryFeaturesEXT* enabled = + reinterpret_cast(pNext); features->frameBoundary |= enabled->frameBoundary == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_FEATURES_EXT: { - const VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT* enabled = + reinterpret_cast(pNext); features->multisampledRenderToSingleSampled |= enabled->multisampledRenderToSingleSampled == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT: { - const VkPhysicalDeviceExtendedDynamicState2FeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceExtendedDynamicState2FeaturesEXT* enabled = + reinterpret_cast(pNext); features->extendedDynamicState2 |= enabled->extendedDynamicState2 == VK_TRUE; features->extendedDynamicState2LogicOp |= enabled->extendedDynamicState2LogicOp == VK_TRUE; features->extendedDynamicState2PatchControlPoints |= enabled->extendedDynamicState2PatchControlPoints == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT: { - const VkPhysicalDeviceColorWriteEnableFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceColorWriteEnableFeaturesEXT* enabled = + reinterpret_cast(pNext); features->colorWriteEnable |= enabled->colorWriteEnable == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT: { - const VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT* enabled = + reinterpret_cast(pNext); features->primitivesGeneratedQuery |= enabled->primitivesGeneratedQuery == VK_TRUE; features->primitivesGeneratedQueryWithRasterizerDiscard |= enabled->primitivesGeneratedQueryWithRasterizerDiscard == VK_TRUE; @@ -1345,41 +1345,41 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_RGB_CONVERSION_FEATURES_VALVE: { - const VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE* enabled = + reinterpret_cast(pNext); features->videoEncodeRgbConversion |= enabled->videoEncodeRgbConversion == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT: { - const VkPhysicalDeviceImageViewMinLodFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImageViewMinLodFeaturesEXT* enabled = + reinterpret_cast(pNext); features->minLod |= enabled->minLod == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT: { - const VkPhysicalDeviceMultiDrawFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMultiDrawFeaturesEXT* enabled = + reinterpret_cast(pNext); features->multiDraw |= enabled->multiDraw == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT: { - const VkPhysicalDeviceImage2DViewOf3DFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImage2DViewOf3DFeaturesEXT* enabled = + reinterpret_cast(pNext); features->image2DViewOf3D |= enabled->image2DViewOf3D == VK_TRUE; features->sampler2DViewOf3D |= enabled->sampler2DViewOf3D == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_FEATURES_EXT: { - const VkPhysicalDeviceShaderTileImageFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderTileImageFeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderTileImageColorReadAccess |= enabled->shaderTileImageColorReadAccess == VK_TRUE; features->shaderTileImageDepthReadAccess |= enabled->shaderTileImageDepthReadAccess == VK_TRUE; features->shaderTileImageStencilReadAccess |= enabled->shaderTileImageStencilReadAccess == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_FEATURES_EXT: { - const VkPhysicalDeviceOpacityMicromapFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceOpacityMicromapFeaturesEXT* enabled = + reinterpret_cast(pNext); features->micromap |= enabled->micromap == VK_TRUE; features->micromapCaptureReplay |= enabled->micromapCaptureReplay == VK_TRUE; features->micromapHostCommands |= enabled->micromapHostCommands == VK_TRUE; @@ -1387,132 +1387,132 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu } #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV: { - const VkPhysicalDeviceDisplacementMicromapFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDisplacementMicromapFeaturesNV* enabled = + reinterpret_cast(pNext); features->displacementMicromap |= enabled->displacementMicromap == VK_TRUE; break; } #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI: { - const VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI* enabled = + reinterpret_cast(pNext); features->clustercullingShader |= enabled->clustercullingShader == VK_TRUE; features->multiviewClusterCullingShader |= enabled->multiviewClusterCullingShader == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_VRS_FEATURES_HUAWEI: { - const VkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceClusterCullingShaderVrsFeaturesHUAWEI* enabled = + reinterpret_cast(pNext); features->clusterShadingRate |= enabled->clusterShadingRate == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT: { - const VkPhysicalDeviceBorderColorSwizzleFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceBorderColorSwizzleFeaturesEXT* enabled = + reinterpret_cast(pNext); features->borderColorSwizzle |= enabled->borderColorSwizzle == VK_TRUE; features->borderColorSwizzleFromImage |= enabled->borderColorSwizzleFromImage == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT: { - const VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT* enabled = + reinterpret_cast(pNext); features->pageableDeviceLocalMemory |= enabled->pageableDeviceLocalMemory == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_FEATURES_ARM: { - const VkPhysicalDeviceSchedulingControlsFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceSchedulingControlsFeaturesARM* enabled = + reinterpret_cast(pNext); features->schedulingControls |= enabled->schedulingControls == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_SLICED_VIEW_OF_3D_FEATURES_EXT: { - const VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT* enabled = + reinterpret_cast(pNext); features->imageSlicedViewOf3D |= enabled->imageSlicedViewOf3D == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE: { - const VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE* enabled = + reinterpret_cast(pNext); features->descriptorSetHostMapping |= enabled->descriptorSetHostMapping == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT: { - const VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT* enabled = + reinterpret_cast(pNext); features->nonSeamlessCubeMap |= enabled->nonSeamlessCubeMap == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM: { - const VkPhysicalDeviceRenderPassStripedFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRenderPassStripedFeaturesARM* enabled = + reinterpret_cast(pNext); features->renderPassStriped |= enabled->renderPassStriped == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_EXT: { - const VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT* enabled = + reinterpret_cast(pNext); features->fragmentDensityMapOffset |= enabled->fragmentDensityMapOffset == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_NV: { - const VkPhysicalDeviceCopyMemoryIndirectFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCopyMemoryIndirectFeaturesNV* enabled = + reinterpret_cast(pNext); features->indirectCopy |= enabled->indirectCopy == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_FEATURES_EXT: { - const VkPhysicalDeviceMemoryDecompressionFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMemoryDecompressionFeaturesEXT* enabled = + reinterpret_cast(pNext); features->memoryDecompression |= enabled->memoryDecompression == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_COMPUTE_FEATURES_NV: { - const VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV* enabled = + reinterpret_cast(pNext); features->deviceGeneratedCompute |= enabled->deviceGeneratedCompute == VK_TRUE; features->deviceGeneratedComputePipelines |= enabled->deviceGeneratedComputePipelines == VK_TRUE; features->deviceGeneratedComputeCaptureReplay |= enabled->deviceGeneratedComputeCaptureReplay == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_LINEAR_SWEPT_SPHERES_FEATURES_NV: { - const VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV* enabled = + reinterpret_cast(pNext); features->spheres |= enabled->spheres == VK_TRUE; features->linearSweptSpheres |= enabled->linearSweptSpheres == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV: { - const VkPhysicalDeviceLinearColorAttachmentFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceLinearColorAttachmentFeaturesNV* enabled = + reinterpret_cast(pNext); features->linearColorAttachment |= enabled->linearColorAttachment == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT: { - const VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT* enabled = + reinterpret_cast(pNext); features->imageCompressionControlSwapchain |= enabled->imageCompressionControlSwapchain == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM: { - const VkPhysicalDeviceImageProcessingFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImageProcessingFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->textureSampleWeighted |= enabled->textureSampleWeighted == VK_TRUE; features->textureBoxFilter |= enabled->textureBoxFilter == VK_TRUE; features->textureBlockMatch |= enabled->textureBlockMatch == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_FEATURES_EXT: { - const VkPhysicalDeviceNestedCommandBufferFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceNestedCommandBufferFeaturesEXT* enabled = + reinterpret_cast(pNext); features->nestedCommandBuffer |= enabled->nestedCommandBuffer == VK_TRUE; features->nestedCommandBufferRendering |= enabled->nestedCommandBufferRendering == VK_TRUE; features->nestedCommandBufferSimultaneousUse |= enabled->nestedCommandBufferSimultaneousUse == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT: { - const VkPhysicalDeviceExtendedDynamicState3FeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceExtendedDynamicState3FeaturesEXT* enabled = + reinterpret_cast(pNext); features->extendedDynamicState3TessellationDomainOrigin |= enabled->extendedDynamicState3TessellationDomainOrigin == VK_TRUE; features->extendedDynamicState3DepthClampEnable |= enabled->extendedDynamicState3DepthClampEnable == VK_TRUE; @@ -1564,14 +1564,14 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_MERGE_FEEDBACK_FEATURES_EXT: { - const VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT* enabled = + reinterpret_cast(pNext); features->subpassMergeFeedback |= enabled->subpassMergeFeedback == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TENSOR_FEATURES_ARM: { - const VkPhysicalDeviceTensorFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTensorFeaturesARM* enabled = + reinterpret_cast(pNext); features->tensorNonPacked |= enabled->tensorNonPacked == VK_TRUE; features->shaderTensorAccess |= enabled->shaderTensorAccess == VK_TRUE; features->shaderStorageTensorArrayDynamicIndexing |= enabled->shaderStorageTensorArrayDynamicIndexing == VK_TRUE; @@ -1583,121 +1583,121 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_TENSOR_FEATURES_ARM: { - const VkPhysicalDeviceDescriptorBufferTensorFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDescriptorBufferTensorFeaturesARM* enabled = + reinterpret_cast(pNext); features->descriptorBufferTensorDescriptors |= enabled->descriptorBufferTensorDescriptors == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT: { - const VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderModuleIdentifier |= enabled->shaderModuleIdentifier == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_FEATURES_NV: { - const VkPhysicalDeviceOpticalFlowFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceOpticalFlowFeaturesNV* enabled = + reinterpret_cast(pNext); features->opticalFlow |= enabled->opticalFlow == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_DITHERING_FEATURES_EXT: { - const VkPhysicalDeviceLegacyDitheringFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceLegacyDitheringFeaturesEXT* enabled = + reinterpret_cast(pNext); features->legacyDithering |= enabled->legacyDithering == VK_TRUE; break; } #ifdef VK_USE_PLATFORM_ANDROID_KHR case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID: { - const VkPhysicalDeviceExternalFormatResolveFeaturesANDROID *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceExternalFormatResolveFeaturesANDROID* enabled = + reinterpret_cast(pNext); features->externalFormatResolve |= enabled->externalFormatResolve == VK_TRUE; break; } #endif // VK_USE_PLATFORM_ANDROID_KHR case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD: { - const VkPhysicalDeviceAntiLagFeaturesAMD *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceAntiLagFeaturesAMD* enabled = + reinterpret_cast(pNext); features->antiLag |= enabled->antiLag == VK_TRUE; break; } #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DENSE_GEOMETRY_FORMAT_FEATURES_AMDX: { - const VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX* enabled = + reinterpret_cast(pNext); features->denseGeometryFormat |= enabled->denseGeometryFormat == VK_TRUE; break; } #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT: { - const VkPhysicalDeviceShaderObjectFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderObjectFeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderObject |= enabled->shaderObject == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM: { - const VkPhysicalDeviceTilePropertiesFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTilePropertiesFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->tileProperties |= enabled->tileProperties == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC: { - const VkPhysicalDeviceAmigoProfilingFeaturesSEC *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceAmigoProfilingFeaturesSEC* enabled = + reinterpret_cast(pNext); features->amigoProfiling |= enabled->amigoProfiling == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM: { - const VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->multiviewPerViewViewports |= enabled->multiviewPerViewViewports == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV: { - const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV* enabled = + reinterpret_cast(pNext); features->rayTracingInvocationReorder |= enabled->rayTracingInvocationReorder == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_VECTOR_FEATURES_NV: { - const VkPhysicalDeviceCooperativeVectorFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCooperativeVectorFeaturesNV* enabled = + reinterpret_cast(pNext); features->cooperativeVector |= enabled->cooperativeVector == VK_TRUE; features->cooperativeVectorTraining |= enabled->cooperativeVectorTraining == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_FEATURES_NV: { - const VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV* enabled = + reinterpret_cast(pNext); features->extendedSparseAddressSpace |= enabled->extendedSparseAddressSpace == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: { - const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* enabled = + reinterpret_cast(pNext); features->legacyVertexAttributes |= enabled->legacyVertexAttributes == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM: { - const VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM* enabled = + reinterpret_cast(pNext); features->shaderCoreBuiltins |= enabled->shaderCoreBuiltins == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT: { - const VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT* enabled = + reinterpret_cast(pNext); features->pipelineLibraryGroupHandles |= enabled->pipelineLibraryGroupHandles == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT: { - const VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT* enabled = + reinterpret_cast(pNext); features->dynamicRenderingUnusedAttachments |= enabled->dynamicRenderingUnusedAttachments == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_FEATURES_ARM: { - const VkPhysicalDeviceDataGraphFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDataGraphFeaturesARM* enabled = + reinterpret_cast(pNext); features->dataGraph |= enabled->dataGraph == VK_TRUE; features->dataGraphUpdateAfterBind |= enabled->dataGraphUpdateAfterBind == VK_TRUE; features->dataGraphSpecializationConstants |= enabled->dataGraphSpecializationConstants == VK_TRUE; @@ -1706,157 +1706,157 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM: { - const VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->multiviewPerViewRenderAreas |= enabled->multiviewPerViewRenderAreas == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV: { - const VkPhysicalDevicePerStageDescriptorSetFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePerStageDescriptorSetFeaturesNV* enabled = + reinterpret_cast(pNext); features->perStageDescriptorSet |= enabled->perStageDescriptorSet == VK_TRUE; features->dynamicPipelineLayout |= enabled->dynamicPipelineLayout == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_2_FEATURES_QCOM: { - const VkPhysicalDeviceImageProcessing2FeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImageProcessing2FeaturesQCOM* enabled = + reinterpret_cast(pNext); features->textureBlockMatch2 |= enabled->textureBlockMatch2 == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM: { - const VkPhysicalDeviceCubicWeightsFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCubicWeightsFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->selectableCubicWeights |= enabled->selectableCubicWeights == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_DEGAMMA_FEATURES_QCOM: { - const VkPhysicalDeviceYcbcrDegammaFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceYcbcrDegammaFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->ycbcrDegamma |= enabled->ycbcrDegamma == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUBIC_CLAMP_FEATURES_QCOM: { - const VkPhysicalDeviceCubicClampFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCubicClampFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->cubicRangeClamp |= enabled->cubicRangeClamp == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT: { - const VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT* enabled = + reinterpret_cast(pNext); features->attachmentFeedbackLoopDynamicState |= enabled->attachmentFeedbackLoopDynamicState == VK_TRUE; break; } #ifdef VK_USE_PLATFORM_SCREEN_QNX case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCREEN_BUFFER_FEATURES_QNX: { - const VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX* enabled = + reinterpret_cast(pNext); features->screenBufferImport |= enabled->screenBufferImport == VK_TRUE; break; } #endif // VK_USE_PLATFORM_SCREEN_QNX case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV: { - const VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV* enabled = + reinterpret_cast(pNext); features->descriptorPoolOverallocation |= enabled->descriptorPoolOverallocation == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_MEMORY_HEAP_FEATURES_QCOM: { - const VkPhysicalDeviceTileMemoryHeapFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceTileMemoryHeapFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->tileMemoryHeap |= enabled->tileMemoryHeap == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV: { - const VkPhysicalDeviceRawAccessChainsFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRawAccessChainsFeaturesNV* enabled = + reinterpret_cast(pNext); features->shaderRawAccessChains |= enabled->shaderRawAccessChains == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV: { - const VkPhysicalDeviceCommandBufferInheritanceFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCommandBufferInheritanceFeaturesNV* enabled = + reinterpret_cast(pNext); features->commandBufferInheritance |= enabled->commandBufferInheritance == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: { - const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* enabled = + reinterpret_cast(pNext); features->shaderFloat16VectorAtomics |= enabled->shaderFloat16VectorAtomics == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: { - const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderReplicatedComposites |= enabled->shaderReplicatedComposites == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT8_FEATURES_EXT: { - const VkPhysicalDeviceShaderFloat8FeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderFloat8FeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderFloat8 |= enabled->shaderFloat8 == VK_TRUE; features->shaderFloat8CooperativeMatrix |= enabled->shaderFloat8CooperativeMatrix == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: { - const VkPhysicalDeviceRayTracingValidationFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayTracingValidationFeaturesNV* enabled = + reinterpret_cast(pNext); features->rayTracingValidation |= enabled->rayTracingValidation == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_ACCELERATION_STRUCTURE_FEATURES_NV: { - const VkPhysicalDeviceClusterAccelerationStructureFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceClusterAccelerationStructureFeaturesNV* enabled = + reinterpret_cast(pNext); features->clusterAccelerationStructure |= enabled->clusterAccelerationStructure == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PARTITIONED_ACCELERATION_STRUCTURE_FEATURES_NV: { - const VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV* enabled = + reinterpret_cast(pNext); features->partitionedAccelerationStructure |= enabled->partitionedAccelerationStructure == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_EXT: { - const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT* enabled = + reinterpret_cast(pNext); features->deviceGeneratedCommands |= enabled->deviceGeneratedCommands == VK_TRUE; features->dynamicGeneratedPipelineLayout |= enabled->dynamicGeneratedPipelineLayout == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: { - const VkPhysicalDeviceImageAlignmentControlFeaturesMESA *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceImageAlignmentControlFeaturesMESA* enabled = + reinterpret_cast(pNext); features->imageAlignmentControl |= enabled->imageAlignmentControl == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_CONSTANT_BANK_FEATURES_NV: { - const VkPhysicalDevicePushConstantBankFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePushConstantBankFeaturesNV* enabled = + reinterpret_cast(pNext); features->pushConstantBank |= enabled->pushConstantBank == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_EXT: { - const VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT* enabled = + reinterpret_cast(pNext); features->rayTracingInvocationReorder |= enabled->rayTracingInvocationReorder == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_CONTROL_FEATURES_EXT: { - const VkPhysicalDeviceDepthClampControlFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDepthClampControlFeaturesEXT* enabled = + reinterpret_cast(pNext); features->depthClampControl |= enabled->depthClampControl == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI: { - const VkPhysicalDeviceHdrVividFeaturesHUAWEI *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceHdrVividFeaturesHUAWEI* enabled = + reinterpret_cast(pNext); features->hdrVivid |= enabled->hdrVivid == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NV: { - const VkPhysicalDeviceCooperativeMatrix2FeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCooperativeMatrix2FeaturesNV* enabled = + reinterpret_cast(pNext); features->cooperativeMatrixWorkgroupScope |= enabled->cooperativeMatrixWorkgroupScope == VK_TRUE; features->cooperativeMatrixFlexibleDimensions |= enabled->cooperativeMatrixFlexibleDimensions == VK_TRUE; features->cooperativeMatrixReductions |= enabled->cooperativeMatrixReductions == VK_TRUE; @@ -1867,100 +1867,100 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_OPACITY_MICROMAP_FEATURES_ARM: { - const VkPhysicalDevicePipelineOpacityMicromapFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelineOpacityMicromapFeaturesARM* enabled = + reinterpret_cast(pNext); features->pipelineOpacityMicromap |= enabled->pipelineOpacityMicromap == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_COUNTERS_BY_REGION_FEATURES_ARM: { - const VkPhysicalDevicePerformanceCountersByRegionFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePerformanceCountersByRegionFeaturesARM* enabled = + reinterpret_cast(pNext); features->performanceCountersByRegion |= enabled->performanceCountersByRegion == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_ROBUSTNESS_FEATURES_EXT: { - const VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT* enabled = + reinterpret_cast(pNext); features->vertexAttributeRobustness |= enabled->vertexAttributeRobustness == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FORMAT_PACK_FEATURES_ARM: { - const VkPhysicalDeviceFormatPackFeaturesARM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFormatPackFeaturesARM* enabled = + reinterpret_cast(pNext); features->formatPack |= enabled->formatPack == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_LAYERED_FEATURES_VALVE: { - const VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE* enabled = + reinterpret_cast(pNext); features->fragmentDensityMapLayered |= enabled->fragmentDensityMapLayered == VK_TRUE; break; } #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV: { - const VkPhysicalDevicePresentMeteringFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePresentMeteringFeaturesNV* enabled = + reinterpret_cast(pNext); features->presentMetering |= enabled->presentMetering == VK_TRUE; break; } #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_DEVICE_MEMORY_FEATURES_EXT: { - const VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT* enabled = + reinterpret_cast(pNext); features->zeroInitializeDeviceMemory |= enabled->zeroInitializeDeviceMemory == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_64_BIT_INDEXING_FEATURES_EXT: { - const VkPhysicalDeviceShader64BitIndexingFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShader64BitIndexingFeaturesEXT* enabled = + reinterpret_cast(pNext); features->shader64BitIndexing |= enabled->shader64BitIndexing == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_RESOLVE_FEATURES_EXT: { - const VkPhysicalDeviceCustomResolveFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceCustomResolveFeaturesEXT* enabled = + reinterpret_cast(pNext); features->customResolve |= enabled->customResolve == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_MODEL_FEATURES_QCOM: { - const VkPhysicalDeviceDataGraphModelFeaturesQCOM *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceDataGraphModelFeaturesQCOM* enabled = + reinterpret_cast(pNext); features->dataGraphModel |= enabled->dataGraphModel == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT: { - const VkPhysicalDeviceShaderLongVectorFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderLongVectorFeaturesEXT* enabled = + reinterpret_cast(pNext); features->longVector |= enabled->longVector == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CACHE_INCREMENTAL_MODE_FEATURES_SEC: { - const VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC *enabled = - reinterpret_cast(pNext); + const VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC* enabled = + reinterpret_cast(pNext); features->pipelineCacheIncrementalMode |= enabled->pipelineCacheIncrementalMode == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_FEATURES_EXT: { - const VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderUniformBufferUnsizedArray |= enabled->shaderUniformBufferUnsizedArray == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV: { - const VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV* enabled = + reinterpret_cast(pNext); features->computeOccupancyPriority |= enabled->computeOccupancyPriority == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT: { - const VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT* enabled = + reinterpret_cast(pNext); features->shaderSubgroupPartitioned |= enabled->shaderSubgroupPartitioned == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MIXED_FLOAT_DOT_PRODUCT_FEATURES_VALVE: { - const VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE* enabled = + reinterpret_cast(pNext); features->shaderMixedFloatDotProductFloat16AccFloat32 |= enabled->shaderMixedFloatDotProductFloat16AccFloat32 == VK_TRUE; features->shaderMixedFloatDotProductFloat16AccFloat16 |= @@ -1970,9 +1970,15 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu enabled->shaderMixedFloatDotProductFloat8AccFloat32 == VK_TRUE; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_DRM_SYNCOBJ_FEATURES_EXT: { + const VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT* enabled = + reinterpret_cast(pNext); + features->externalSemaphoreDrmSyncobj |= enabled->externalSemaphoreDrmSyncobj == VK_TRUE; + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR: { - const VkPhysicalDeviceAccelerationStructureFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceAccelerationStructureFeaturesKHR* enabled = + reinterpret_cast(pNext); features->accelerationStructure |= enabled->accelerationStructure == VK_TRUE; features->accelerationStructureCaptureReplay |= enabled->accelerationStructureCaptureReplay == VK_TRUE; features->accelerationStructureIndirectBuild |= enabled->accelerationStructureIndirectBuild == VK_TRUE; @@ -1982,8 +1988,8 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR: { - const VkPhysicalDeviceRayTracingPipelineFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayTracingPipelineFeaturesKHR* enabled = + reinterpret_cast(pNext); features->rayTracingPipeline |= enabled->rayTracingPipeline == VK_TRUE; features->rayTracingPipelineShaderGroupHandleCaptureReplay |= enabled->rayTracingPipelineShaderGroupHandleCaptureReplay == VK_TRUE; @@ -1994,14 +2000,14 @@ void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatu break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR: { - const VkPhysicalDeviceRayQueryFeaturesKHR *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceRayQueryFeaturesKHR* enabled = + reinterpret_cast(pNext); features->rayQuery |= enabled->rayQuery == VK_TRUE; break; } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_EXT: { - const VkPhysicalDeviceMeshShaderFeaturesEXT *enabled = - reinterpret_cast(pNext); + const VkPhysicalDeviceMeshShaderFeaturesEXT* enabled = + reinterpret_cast(pNext); features->taskShader |= enabled->taskShader == VK_TRUE; features->meshShader |= enabled->meshShader == VK_TRUE; features->multiviewMeshShader |= enabled->multiviewMeshShader == VK_TRUE; diff --git a/layers/vulkan/generated/device_features.h b/layers/vulkan/generated/device_features.h index 33ec980c450..03952cee889 100644 --- a/layers/vulkan/generated/device_features.h +++ b/layers/vulkan/generated/device_features.h @@ -350,6 +350,8 @@ struct DeviceFeatures { bool externalMemoryRDMA; // VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX bool screenBufferImport; + // VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT + bool externalSemaphoreDrmSyncobj; // VkPhysicalDeviceFaultFeaturesEXT bool deviceFault; // VkPhysicalDeviceFaultFeaturesEXT @@ -1092,6 +1094,6 @@ struct DeviceFeatures { bool zeroInitializeDeviceMemory; }; -void GetEnabledDeviceFeatures(const VkDeviceCreateInfo *pCreateInfo, DeviceFeatures *features, const APIVersion &api_version); +void GetEnabledDeviceFeatures(const VkDeviceCreateInfo* pCreateInfo, DeviceFeatures* features, const APIVersion& api_version); // NOLINTEND diff --git a/layers/vulkan/generated/dispatch_object.cpp b/layers/vulkan/generated/dispatch_object.cpp index 84bab71ba82..250f260089e 100644 --- a/layers/vulkan/generated/dispatch_object.cpp +++ b/layers/vulkan/generated/dispatch_object.cpp @@ -799,7 +799,9 @@ void Device::FreeMemory(VkDevice device, VkDeviceMemory memory, const VkAllocati VkResult Device::MapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData) { if (!wrap_handles) return device_dispatch_table.MapMemory(device, memory, offset, size, flags, ppData); - { memory = Unwrap(memory); } + { + memory = Unwrap(memory); + } VkResult result = device_dispatch_table.MapMemory(device, memory, offset, size, flags, ppData); return result; @@ -807,7 +809,9 @@ VkResult Device::MapMemory(VkDevice device, VkDeviceMemory memory, VkDeviceSize void Device::UnmapMemory(VkDevice device, VkDeviceMemory memory) { if (!wrap_handles) return device_dispatch_table.UnmapMemory(device, memory); - { memory = Unwrap(memory); } + { + memory = Unwrap(memory); + } device_dispatch_table.UnmapMemory(device, memory); } @@ -860,7 +864,9 @@ VkResult Device::InvalidateMappedMemoryRanges(VkDevice device, uint32_t memoryRa void Device::GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) { if (!wrap_handles) return device_dispatch_table.GetDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes); - { memory = Unwrap(memory); } + { + memory = Unwrap(memory); + } device_dispatch_table.GetDeviceMemoryCommitment(device, memory, pCommittedMemoryInBytes); } @@ -888,13 +894,17 @@ VkResult Device::BindImageMemory(VkDevice device, VkImage image, VkDeviceMemory void Device::GetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) { if (!wrap_handles) return device_dispatch_table.GetBufferMemoryRequirements(device, buffer, pMemoryRequirements); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.GetBufferMemoryRequirements(device, buffer, pMemoryRequirements); } void Device::GetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) { if (!wrap_handles) return device_dispatch_table.GetImageMemoryRequirements(device, image, pMemoryRequirements); - { image = Unwrap(image); } + { + image = Unwrap(image); + } device_dispatch_table.GetImageMemoryRequirements(device, image, pMemoryRequirements); } @@ -903,7 +913,9 @@ void Device::GetImageSparseMemoryRequirements(VkDevice device, VkImage image, ui if (!wrap_handles) return device_dispatch_table.GetImageSparseMemoryRequirements(device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements); - { image = Unwrap(image); } + { + image = Unwrap(image); + } device_dispatch_table.GetImageSparseMemoryRequirements(device, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements); } @@ -1031,7 +1043,9 @@ VkResult Device::ResetFences(VkDevice device, uint32_t fenceCount, const VkFence VkResult Device::GetFenceStatus(VkDevice device, VkFence fence) { if (!wrap_handles) return device_dispatch_table.GetFenceStatus(device, fence); - { fence = Unwrap(fence); } + { + fence = Unwrap(fence); + } VkResult result = device_dispatch_table.GetFenceStatus(device, fence); return result; @@ -1093,7 +1107,9 @@ VkResult Device::GetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uin size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags) { if (!wrap_handles) return device_dispatch_table.GetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } VkResult result = device_dispatch_table.GetQueryPoolResults(device, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags); @@ -1153,7 +1169,9 @@ void Device::DestroyImage(VkDevice device, VkImage image, const VkAllocationCall void Device::GetImageSubresourceLayout(VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout) { if (!wrap_handles) return device_dispatch_table.GetImageSubresourceLayout(device, image, pSubresource, pLayout); - { image = Unwrap(image); } + { + image = Unwrap(image); + } device_dispatch_table.GetImageSubresourceLayout(device, image, pSubresource, pLayout); } @@ -1200,7 +1218,9 @@ VkResult Device::CreateCommandPool(VkDevice device, const VkCommandPoolCreateInf VkResult Device::ResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) { if (!wrap_handles) return device_dispatch_table.ResetCommandPool(device, commandPool, flags); - { commandPool = Unwrap(commandPool); } + { + commandPool = Unwrap(commandPool); + } VkResult result = device_dispatch_table.ResetCommandPool(device, commandPool, flags); return result; @@ -1267,14 +1287,18 @@ void Device::CmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImag void Device::CmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData) { if (!wrap_handles) return device_dispatch_table.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pData); - { dstBuffer = Unwrap(dstBuffer); } + { + dstBuffer = Unwrap(dstBuffer); + } device_dispatch_table.CmdUpdateBuffer(commandBuffer, dstBuffer, dstOffset, dataSize, pData); } void Device::CmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data) { if (!wrap_handles) return device_dispatch_table.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); - { dstBuffer = Unwrap(dstBuffer); } + { + dstBuffer = Unwrap(dstBuffer); + } device_dispatch_table.CmdFillBuffer(commandBuffer, dstBuffer, dstOffset, size, data); } @@ -1323,26 +1347,34 @@ void Device::CmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFl void Device::CmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags) { if (!wrap_handles) return device_dispatch_table.CmdBeginQuery(commandBuffer, queryPool, query, flags); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.CmdBeginQuery(commandBuffer, queryPool, query, flags); } void Device::CmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query) { if (!wrap_handles) return device_dispatch_table.CmdEndQuery(commandBuffer, queryPool, query); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.CmdEndQuery(commandBuffer, queryPool, query); } void Device::CmdResetQueryPool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) { if (!wrap_handles) return device_dispatch_table.CmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.CmdResetQueryPool(commandBuffer, queryPool, firstQuery, queryCount); } void Device::CmdWriteTimestamp(VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query) { if (!wrap_handles) return device_dispatch_table.CmdWriteTimestamp(commandBuffer, pipelineStage, queryPool, query); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.CmdWriteTimestamp(commandBuffer, pipelineStage, queryPool, query); } @@ -1383,7 +1415,9 @@ void Device::DestroyEvent(VkDevice device, VkEvent event, const VkAllocationCall VkResult Device::GetEventStatus(VkDevice device, VkEvent event) { if (!wrap_handles) return device_dispatch_table.GetEventStatus(device, event); - { event = Unwrap(event); } + { + event = Unwrap(event); + } VkResult result = device_dispatch_table.GetEventStatus(device, event); return result; @@ -1391,7 +1425,9 @@ VkResult Device::GetEventStatus(VkDevice device, VkEvent event) { VkResult Device::SetEvent(VkDevice device, VkEvent event) { if (!wrap_handles) return device_dispatch_table.SetEvent(device, event); - { event = Unwrap(event); } + { + event = Unwrap(event); + } VkResult result = device_dispatch_table.SetEvent(device, event); return result; @@ -1399,7 +1435,9 @@ VkResult Device::SetEvent(VkDevice device, VkEvent event) { VkResult Device::ResetEvent(VkDevice device, VkEvent event) { if (!wrap_handles) return device_dispatch_table.ResetEvent(device, event); - { event = Unwrap(event); } + { + event = Unwrap(event); + } VkResult result = device_dispatch_table.ResetEvent(device, event); return result; @@ -1479,7 +1517,9 @@ void Device::DestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache VkResult Device::GetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, size_t* pDataSize, void* pData) { if (!wrap_handles) return device_dispatch_table.GetPipelineCacheData(device, pipelineCache, pDataSize, pData); - { pipelineCache = Unwrap(pipelineCache); } + { + pipelineCache = Unwrap(pipelineCache); + } VkResult result = device_dispatch_table.GetPipelineCacheData(device, pipelineCache, pDataSize, pData); return result; @@ -1690,7 +1730,9 @@ void Device::UpdateDescriptorSets(VkDevice device, uint32_t descriptorWriteCount void Device::CmdBindPipeline(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) { if (!wrap_handles) return device_dispatch_table.CmdBindPipeline(commandBuffer, pipelineBindPoint, pipeline); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } device_dispatch_table.CmdBindPipeline(commandBuffer, pipelineBindPoint, pipeline); } @@ -1720,7 +1762,9 @@ void Device::CmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, Vk const VkClearColorValue* pColor, uint32_t rangeCount, const VkImageSubresourceRange* pRanges) { if (!wrap_handles) return device_dispatch_table.CmdClearColorImage(commandBuffer, image, imageLayout, pColor, rangeCount, pRanges); - { image = Unwrap(image); } + { + image = Unwrap(image); + } device_dispatch_table.CmdClearColorImage(commandBuffer, image, imageLayout, pColor, rangeCount, pRanges); } @@ -1730,19 +1774,25 @@ void Device::CmdDispatch(VkCommandBuffer commandBuffer, uint32_t groupCountX, ui void Device::CmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) { if (!wrap_handles) return device_dispatch_table.CmdDispatchIndirect(commandBuffer, buffer, offset); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdDispatchIndirect(commandBuffer, buffer, offset); } void Device::CmdSetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask) { if (!wrap_handles) return device_dispatch_table.CmdSetEvent(commandBuffer, event, stageMask); - { event = Unwrap(event); } + { + event = Unwrap(event); + } device_dispatch_table.CmdSetEvent(commandBuffer, event, stageMask); } void Device::CmdResetEvent(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask) { if (!wrap_handles) return device_dispatch_table.CmdResetEvent(commandBuffer, event, stageMask); - { event = Unwrap(event); } + { + event = Unwrap(event); + } device_dispatch_table.CmdResetEvent(commandBuffer, event, stageMask); } @@ -1801,7 +1851,9 @@ void Device::CmdWaitEvents(VkCommandBuffer commandBuffer, uint32_t eventCount, c void Device::CmdPushConstants(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void* pValues) { if (!wrap_handles) return device_dispatch_table.CmdPushConstants(commandBuffer, layout, stageFlags, offset, size, pValues); - { layout = Unwrap(layout); } + { + layout = Unwrap(layout); + } device_dispatch_table.CmdPushConstants(commandBuffer, layout, stageFlags, offset, size, pValues); } @@ -1841,7 +1893,9 @@ void Device::DestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, cons void Device::GetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) { if (!wrap_handles) return device_dispatch_table.GetRenderAreaGranularity(device, renderPass, pGranularity); - { renderPass = Unwrap(renderPass); } + { + renderPass = Unwrap(renderPass); + } device_dispatch_table.GetRenderAreaGranularity(device, renderPass, pGranularity); } @@ -1885,7 +1939,9 @@ void Device::CmdSetStencilReference(VkCommandBuffer commandBuffer, VkStencilFace void Device::CmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType) { if (!wrap_handles) return device_dispatch_table.CmdBindIndexBuffer(commandBuffer, buffer, offset, indexType); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdBindIndexBuffer(commandBuffer, buffer, offset, indexType); } @@ -1921,14 +1977,18 @@ void Device::CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, void Device::CmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) { if (!wrap_handles) return device_dispatch_table.CmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdDrawIndirect(commandBuffer, buffer, offset, drawCount, stride); } void Device::CmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) { if (!wrap_handles) return device_dispatch_table.CmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdDrawIndexedIndirect(commandBuffer, buffer, offset, drawCount, stride); } @@ -1951,7 +2011,9 @@ void Device::CmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage im if (!wrap_handles) return device_dispatch_table.CmdClearDepthStencilImage(commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges); - { image = Unwrap(image); } + { + image = Unwrap(image); + } device_dispatch_table.CmdClearDepthStencilImage(commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges); } @@ -2120,7 +2182,9 @@ void Instance::GetPhysicalDeviceSparseImageFormatProperties2(VkPhysicalDevice ph void Device::TrimCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) { if (!wrap_handles) return device_dispatch_table.TrimCommandPool(device, commandPool, flags); - { commandPool = Unwrap(commandPool); } + { + commandPool = Unwrap(commandPool); + } device_dispatch_table.TrimCommandPool(device, commandPool, flags); } @@ -2198,13 +2262,17 @@ void Device::DestroySamplerYcbcrConversion(VkDevice device, VkSamplerYcbcrConver void Device::ResetQueryPool(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) { if (!wrap_handles) return device_dispatch_table.ResetQueryPool(device, queryPool, firstQuery, queryCount); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.ResetQueryPool(device, queryPool, firstQuery, queryCount); } VkResult Device::GetSemaphoreCounterValue(VkDevice device, VkSemaphore semaphore, uint64_t* pValue) { if (!wrap_handles) return device_dispatch_table.GetSemaphoreCounterValue(device, semaphore, pValue); - { semaphore = Unwrap(semaphore); } + { + semaphore = Unwrap(semaphore); + } VkResult result = device_dispatch_table.GetSemaphoreCounterValue(device, semaphore, pValue); return result; @@ -2439,7 +2507,9 @@ void Device::CmdPipelineBarrier2(VkCommandBuffer commandBuffer, const VkDependen void Device::CmdWriteTimestamp2(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query) { if (!wrap_handles) return device_dispatch_table.CmdWriteTimestamp2(commandBuffer, stage, queryPool, query); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.CmdWriteTimestamp2(commandBuffer, stage, queryPool, query); } @@ -2614,7 +2684,9 @@ void Device::CmdSetEvent2(VkCommandBuffer commandBuffer, VkEvent event, const Vk void Device::CmdResetEvent2(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask) { if (!wrap_handles) return device_dispatch_table.CmdResetEvent2(commandBuffer, event, stageMask); - { event = Unwrap(event); } + { + event = Unwrap(event); + } device_dispatch_table.CmdResetEvent2(commandBuffer, event, stageMask); } @@ -2872,7 +2944,9 @@ void Device::GetDeviceImageSubresourceLayout(VkDevice device, const VkDeviceImag void Device::GetImageSubresourceLayout2(VkDevice device, VkImage image, const VkImageSubresource2* pSubresource, VkSubresourceLayout2* pLayout) { if (!wrap_handles) return device_dispatch_table.GetImageSubresourceLayout2(device, image, pSubresource, pLayout); - { image = Unwrap(image); } + { + image = Unwrap(image); + } device_dispatch_table.GetImageSubresourceLayout2(device, image, pSubresource, pLayout); } @@ -3132,7 +3206,9 @@ void Device::CmdSetLineStipple(VkCommandBuffer commandBuffer, uint32_t lineStipp void Device::CmdBindIndexBuffer2(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkDeviceSize size, VkIndexType indexType) { if (!wrap_handles) return device_dispatch_table.CmdBindIndexBuffer2(commandBuffer, buffer, offset, size, indexType); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdBindIndexBuffer2(commandBuffer, buffer, offset, size, indexType); } @@ -3160,7 +3236,9 @@ VkResult Instance::GetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalD VkSurfaceKHR surface, VkBool32* pSupported) { if (!wrap_handles) return instance_dispatch_table.GetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported); - { surface = Unwrap(surface); } + { + surface = Unwrap(surface); + } VkResult result = instance_dispatch_table.GetPhysicalDeviceSurfaceSupportKHR(physicalDevice, queueFamilyIndex, surface, pSupported); @@ -3171,7 +3249,9 @@ VkResult Instance::GetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice phys VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) { if (!wrap_handles) return instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities); - { surface = Unwrap(surface); } + { + surface = Unwrap(surface); + } VkResult result = instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice, surface, pSurfaceCapabilities); @@ -3183,7 +3263,9 @@ VkResult Instance::GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalD if (!wrap_handles) return instance_dispatch_table.GetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats); - { surface = Unwrap(surface); } + { + surface = Unwrap(surface); + } VkResult result = instance_dispatch_table.GetPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, pSurfaceFormatCount, pSurfaceFormats); @@ -3195,7 +3277,9 @@ VkResult Instance::GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice phys if (!wrap_handles) return instance_dispatch_table.GetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes); - { surface = Unwrap(surface); } + { + surface = Unwrap(surface); + } VkResult result = instance_dispatch_table.GetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, surface, pPresentModeCount, pPresentModes); @@ -3251,7 +3335,9 @@ VkResult Device::GetDeviceGroupPresentCapabilitiesKHR(VkDevice device, VkResult Device::GetDeviceGroupSurfacePresentModesKHR(VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR* pModes) { if (!wrap_handles) return device_dispatch_table.GetDeviceGroupSurfacePresentModesKHR(device, surface, pModes); - { surface = Unwrap(surface); } + { + surface = Unwrap(surface); + } VkResult result = device_dispatch_table.GetDeviceGroupSurfacePresentModesKHR(device, surface, pModes); return result; @@ -3261,7 +3347,9 @@ VkResult Instance::GetPhysicalDevicePresentRectanglesKHR(VkPhysicalDevice physic uint32_t* pRectCount, VkRect2D* pRects) { if (!wrap_handles) return instance_dispatch_table.GetPhysicalDevicePresentRectanglesKHR(physicalDevice, surface, pRectCount, pRects); - { surface = Unwrap(surface); } + { + surface = Unwrap(surface); + } VkResult result = instance_dispatch_table.GetPhysicalDevicePresentRectanglesKHR(physicalDevice, surface, pRectCount, pRects); return result; @@ -3297,7 +3385,9 @@ VkResult Instance::CreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDispl const VkDisplayModeCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode) { if (!wrap_handles) return instance_dispatch_table.CreateDisplayModeKHR(physicalDevice, display, pCreateInfo, pAllocator, pMode); - { display = Unwrap(display); } + { + display = Unwrap(display); + } VkResult result = instance_dispatch_table.CreateDisplayModeKHR(physicalDevice, display, pCreateInfo, pAllocator, pMode); if (result == VK_SUCCESS) { *pMode = WrapNew(*pMode); @@ -3309,7 +3399,9 @@ VkResult Instance::GetDisplayPlaneCapabilitiesKHR(VkPhysicalDevice physicalDevic VkDisplayPlaneCapabilitiesKHR* pCapabilities) { if (!wrap_handles) return instance_dispatch_table.GetDisplayPlaneCapabilitiesKHR(physicalDevice, mode, planeIndex, pCapabilities); - { mode = Unwrap(mode); } + { + mode = Unwrap(mode); + } VkResult result = instance_dispatch_table.GetDisplayPlaneCapabilitiesKHR(physicalDevice, mode, planeIndex, pCapabilities); return result; @@ -3506,7 +3598,9 @@ VkResult Device::GetVideoSessionMemoryRequirementsKHR(VkDevice device, VkVideoSe if (!wrap_handles) return device_dispatch_table.GetVideoSessionMemoryRequirementsKHR(device, videoSession, pMemoryRequirementsCount, pMemoryRequirements); - { videoSession = Unwrap(videoSession); } + { + videoSession = Unwrap(videoSession); + } VkResult result = device_dispatch_table.GetVideoSessionMemoryRequirementsKHR(device, videoSession, pMemoryRequirementsCount, pMemoryRequirements); @@ -3571,7 +3665,9 @@ VkResult Device::CreateVideoSessionParametersKHR(VkDevice device, const VkVideoS VkResult Device::UpdateVideoSessionParametersKHR(VkDevice device, VkVideoSessionParametersKHR videoSessionParameters, const VkVideoSessionParametersUpdateInfoKHR* pUpdateInfo) { if (!wrap_handles) return device_dispatch_table.UpdateVideoSessionParametersKHR(device, videoSessionParameters, pUpdateInfo); - { videoSessionParameters = Unwrap(videoSessionParameters); } + { + videoSessionParameters = Unwrap(videoSessionParameters); + } VkResult result = device_dispatch_table.UpdateVideoSessionParametersKHR(device, videoSessionParameters, pUpdateInfo); return result; @@ -3766,7 +3862,9 @@ void Device::CmdDispatchBaseKHR(VkCommandBuffer commandBuffer, uint32_t baseGrou void Device::TrimCommandPoolKHR(VkDevice device, VkCommandPool commandPool, VkCommandPoolTrimFlags flags) { if (!wrap_handles) return device_dispatch_table.TrimCommandPoolKHR(device, commandPool, flags); - { commandPool = Unwrap(commandPool); } + { + commandPool = Unwrap(commandPool); + } device_dispatch_table.TrimCommandPoolKHR(device, commandPool, flags); } @@ -4024,7 +4122,9 @@ void Device::CmdEndRenderPass2KHR(VkCommandBuffer commandBuffer, const VkSubpass VkResult Device::GetSwapchainStatusKHR(VkDevice device, VkSwapchainKHR swapchain) { if (!wrap_handles) return device_dispatch_table.GetSwapchainStatusKHR(device, swapchain); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.GetSwapchainStatusKHR(device, swapchain); return result; @@ -4343,7 +4443,9 @@ void Device::CmdDrawIndexedIndirectCountKHR(VkCommandBuffer commandBuffer, VkBuf VkResult Device::GetSemaphoreCounterValueKHR(VkDevice device, VkSemaphore semaphore, uint64_t* pValue) { if (!wrap_handles) return device_dispatch_table.GetSemaphoreCounterValueKHR(device, semaphore, pValue); - { semaphore = Unwrap(semaphore); } + { + semaphore = Unwrap(semaphore); + } VkResult result = device_dispatch_table.GetSemaphoreCounterValueKHR(device, semaphore, pValue); return result; @@ -4413,7 +4515,9 @@ void Device::CmdSetRenderingInputAttachmentIndicesKHR(VkCommandBuffer commandBuf VkResult Device::WaitForPresentKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t presentId, uint64_t timeout) { if (!wrap_handles) return device_dispatch_table.WaitForPresentKHR(device, swapchain, presentId, timeout); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.WaitForPresentKHR(device, swapchain, presentId, timeout); return result; @@ -4497,7 +4601,9 @@ void Device::DestroyDeferredOperationKHR(VkDevice device, VkDeferredOperationKHR uint32_t Device::GetDeferredOperationMaxConcurrencyKHR(VkDevice device, VkDeferredOperationKHR operation) { if (!wrap_handles) return device_dispatch_table.GetDeferredOperationMaxConcurrencyKHR(device, operation); - { operation = Unwrap(operation); } + { + operation = Unwrap(operation); + } uint32_t result = device_dispatch_table.GetDeferredOperationMaxConcurrencyKHR(device, operation); return result; @@ -4717,7 +4823,9 @@ void Device::CmdSetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, const void Device::CmdResetEvent2KHR(VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags2 stageMask) { if (!wrap_handles) return device_dispatch_table.CmdResetEvent2KHR(commandBuffer, event, stageMask); - { event = Unwrap(event); } + { + event = Unwrap(event); + } device_dispatch_table.CmdResetEvent2KHR(commandBuffer, event, stageMask); } @@ -4798,7 +4906,9 @@ void Device::CmdPipelineBarrier2KHR(VkCommandBuffer commandBuffer, const VkDepen void Device::CmdWriteTimestamp2KHR(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query) { if (!wrap_handles) return device_dispatch_table.CmdWriteTimestamp2KHR(commandBuffer, stage, queryPool, query); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.CmdWriteTimestamp2KHR(commandBuffer, stage, queryPool, query); } @@ -4987,7 +5097,9 @@ void Device::GetDeviceImageSparseMemoryRequirementsKHR(VkDevice device, const Vk void Device::CmdBindIndexBuffer2KHR(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkDeviceSize size, VkIndexType indexType) { if (!wrap_handles) return device_dispatch_table.CmdBindIndexBuffer2KHR(commandBuffer, buffer, offset, size, indexType); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdBindIndexBuffer2KHR(commandBuffer, buffer, offset, size, indexType); } @@ -5004,13 +5116,17 @@ void Device::GetDeviceImageSubresourceLayoutKHR(VkDevice device, const VkDeviceI void Device::GetImageSubresourceLayout2KHR(VkDevice device, VkImage image, const VkImageSubresource2* pSubresource, VkSubresourceLayout2* pLayout) { if (!wrap_handles) return device_dispatch_table.GetImageSubresourceLayout2KHR(device, image, pSubresource, pLayout); - { image = Unwrap(image); } + { + image = Unwrap(image); + } device_dispatch_table.GetImageSubresourceLayout2KHR(device, image, pSubresource, pLayout); } VkResult Device::WaitForPresent2KHR(VkDevice device, VkSwapchainKHR swapchain, const VkPresentWait2InfoKHR* pPresentWait2Info) { if (!wrap_handles) return device_dispatch_table.WaitForPresent2KHR(device, swapchain, pPresentWait2Info); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.WaitForPresent2KHR(device, swapchain, pPresentWait2Info); return result; @@ -5408,13 +5524,17 @@ void Device::CmdEndTransformFeedbackEXT(VkCommandBuffer commandBuffer, uint32_t void Device::CmdBeginQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags, uint32_t index) { if (!wrap_handles) return device_dispatch_table.CmdBeginQueryIndexedEXT(commandBuffer, queryPool, query, flags, index); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.CmdBeginQueryIndexedEXT(commandBuffer, queryPool, query, flags, index); } void Device::CmdEndQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, uint32_t index) { if (!wrap_handles) return device_dispatch_table.CmdEndQueryIndexedEXT(commandBuffer, queryPool, query, index); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.CmdEndQueryIndexedEXT(commandBuffer, queryPool, query, index); } @@ -5424,7 +5544,9 @@ void Device::CmdDrawIndirectByteCountEXT(VkCommandBuffer commandBuffer, uint32_t if (!wrap_handles) return device_dispatch_table.CmdDrawIndirectByteCountEXT(commandBuffer, instanceCount, firstInstance, counterBuffer, counterBufferOffset, counterOffset, vertexStride); - { counterBuffer = Unwrap(counterBuffer); } + { + counterBuffer = Unwrap(counterBuffer); + } device_dispatch_table.CmdDrawIndirectByteCountEXT(commandBuffer, instanceCount, firstInstance, counterBuffer, counterBufferOffset, counterOffset, vertexStride); } @@ -5538,7 +5660,9 @@ uint64_t Device::GetImageViewHandle64NVX(VkDevice device, const VkImageViewHandl VkResult Device::GetImageViewAddressNVX(VkDevice device, VkImageView imageView, VkImageViewAddressPropertiesNVX* pProperties) { if (!wrap_handles) return device_dispatch_table.GetImageViewAddressNVX(device, imageView, pProperties); - { imageView = Unwrap(imageView); } + { + imageView = Unwrap(imageView); + } VkResult result = device_dispatch_table.GetImageViewAddressNVX(device, imageView, pProperties); return result; @@ -5580,7 +5704,9 @@ void Device::CmdDrawIndexedIndirectCountAMD(VkCommandBuffer commandBuffer, VkBuf VkResult Device::GetShaderInfoAMD(VkDevice device, VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo) { if (!wrap_handles) return device_dispatch_table.GetShaderInfoAMD(device, pipeline, shaderStage, infoType, pInfoSize, pInfo); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } VkResult result = device_dispatch_table.GetShaderInfoAMD(device, pipeline, shaderStage, infoType, pInfoSize, pInfo); return result; @@ -5613,7 +5739,9 @@ VkResult Instance::GetPhysicalDeviceExternalImageFormatPropertiesNV( VkResult Device::GetMemoryWin32HandleNV(VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, HANDLE* pHandle) { if (!wrap_handles) return device_dispatch_table.GetMemoryWin32HandleNV(device, memory, handleType, pHandle); - { memory = Unwrap(memory); } + { + memory = Unwrap(memory); + } VkResult result = device_dispatch_table.GetMemoryWin32HandleNV(device, memory, handleType, pHandle); return result; @@ -5663,7 +5791,9 @@ void Device::CmdSetViewportWScalingNV(VkCommandBuffer commandBuffer, uint32_t fi VkResult Instance::ReleaseDisplayEXT(VkPhysicalDevice physicalDevice, VkDisplayKHR display) { if (!wrap_handles) return instance_dispatch_table.ReleaseDisplayEXT(physicalDevice, display); - { display = Unwrap(display); } + { + display = Unwrap(display); + } VkResult result = instance_dispatch_table.ReleaseDisplayEXT(physicalDevice, display); return result; @@ -5672,7 +5802,9 @@ VkResult Instance::ReleaseDisplayEXT(VkPhysicalDevice physicalDevice, VkDisplayK VkResult Instance::AcquireXlibDisplayEXT(VkPhysicalDevice physicalDevice, Display* dpy, VkDisplayKHR display) { if (!wrap_handles) return instance_dispatch_table.AcquireXlibDisplayEXT(physicalDevice, dpy, display); - { display = Unwrap(display); } + { + display = Unwrap(display); + } VkResult result = instance_dispatch_table.AcquireXlibDisplayEXT(physicalDevice, dpy, display); return result; @@ -5694,7 +5826,9 @@ VkResult Instance::GetPhysicalDeviceSurfaceCapabilities2EXT(VkPhysicalDevice phy VkSurfaceCapabilities2EXT* pSurfaceCapabilities) { if (!wrap_handles) return instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilities2EXT(physicalDevice, surface, pSurfaceCapabilities); - { surface = Unwrap(surface); } + { + surface = Unwrap(surface); + } VkResult result = instance_dispatch_table.GetPhysicalDeviceSurfaceCapabilities2EXT(physicalDevice, surface, pSurfaceCapabilities); @@ -5703,7 +5837,9 @@ VkResult Instance::GetPhysicalDeviceSurfaceCapabilities2EXT(VkPhysicalDevice phy VkResult Device::DisplayPowerControlEXT(VkDevice device, VkDisplayKHR display, const VkDisplayPowerInfoEXT* pDisplayPowerInfo) { if (!wrap_handles) return device_dispatch_table.DisplayPowerControlEXT(device, display, pDisplayPowerInfo); - { display = Unwrap(display); } + { + display = Unwrap(display); + } VkResult result = device_dispatch_table.DisplayPowerControlEXT(device, display, pDisplayPowerInfo); return result; @@ -5723,7 +5859,9 @@ VkResult Device::RegisterDeviceEventEXT(VkDevice device, const VkDeviceEventInfo VkResult Device::RegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, const VkDisplayEventInfoEXT* pDisplayEventInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence) { if (!wrap_handles) return device_dispatch_table.RegisterDisplayEventEXT(device, display, pDisplayEventInfo, pAllocator, pFence); - { display = Unwrap(display); } + { + display = Unwrap(display); + } VkResult result = device_dispatch_table.RegisterDisplayEventEXT(device, display, pDisplayEventInfo, pAllocator, pFence); if (result == VK_SUCCESS) { *pFence = WrapNew(*pFence); @@ -5734,7 +5872,9 @@ VkResult Device::RegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkResult Device::GetSwapchainCounterEXT(VkDevice device, VkSwapchainKHR swapchain, VkSurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue) { if (!wrap_handles) return device_dispatch_table.GetSwapchainCounterEXT(device, swapchain, counter, pCounterValue); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.GetSwapchainCounterEXT(device, swapchain, counter, pCounterValue); return result; @@ -5743,7 +5883,9 @@ VkResult Device::GetSwapchainCounterEXT(VkDevice device, VkSwapchainKHR swapchai VkResult Device::GetRefreshCycleDurationGOOGLE(VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties) { if (!wrap_handles) return device_dispatch_table.GetRefreshCycleDurationGOOGLE(device, swapchain, pDisplayTimingProperties); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.GetRefreshCycleDurationGOOGLE(device, swapchain, pDisplayTimingProperties); return result; @@ -5754,7 +5896,9 @@ VkResult Device::GetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR if (!wrap_handles) return device_dispatch_table.GetPastPresentationTimingGOOGLE(device, swapchain, pPresentationTimingCount, pPresentationTimings); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.GetPastPresentationTimingGOOGLE(device, swapchain, pPresentationTimingCount, pPresentationTimings); @@ -5951,7 +6095,9 @@ VkResult Device::CreateExecutionGraphPipelinesAMDX(VkDevice device, VkPipelineCa VkResult Device::GetExecutionGraphPipelineScratchSizeAMDX(VkDevice device, VkPipeline executionGraph, VkExecutionGraphPipelineScratchSizeAMDX* pSizeInfo) { if (!wrap_handles) return device_dispatch_table.GetExecutionGraphPipelineScratchSizeAMDX(device, executionGraph, pSizeInfo); - { executionGraph = Unwrap(executionGraph); } + { + executionGraph = Unwrap(executionGraph); + } VkResult result = device_dispatch_table.GetExecutionGraphPipelineScratchSizeAMDX(device, executionGraph, pSizeInfo); return result; @@ -5962,7 +6108,9 @@ VkResult Device::GetExecutionGraphPipelineNodeIndexAMDX(VkDevice device, VkPipel uint32_t* pNodeIndex) { if (!wrap_handles) return device_dispatch_table.GetExecutionGraphPipelineNodeIndexAMDX(device, executionGraph, pNodeInfo, pNodeIndex); - { executionGraph = Unwrap(executionGraph); } + { + executionGraph = Unwrap(executionGraph); + } VkResult result = device_dispatch_table.GetExecutionGraphPipelineNodeIndexAMDX(device, executionGraph, pNodeInfo, pNodeIndex); return result; @@ -5972,7 +6120,9 @@ void Device::CmdInitializeGraphScratchMemoryAMDX(VkCommandBuffer commandBuffer, VkDeviceSize scratchSize) { if (!wrap_handles) return device_dispatch_table.CmdInitializeGraphScratchMemoryAMDX(commandBuffer, executionGraph, scratch, scratchSize); - { executionGraph = Unwrap(executionGraph); } + { + executionGraph = Unwrap(executionGraph); + } device_dispatch_table.CmdInitializeGraphScratchMemoryAMDX(commandBuffer, executionGraph, scratch, scratchSize); } @@ -6093,7 +6243,9 @@ void Instance::GetPhysicalDeviceMultisamplePropertiesEXT(VkPhysicalDevice physic VkResult Device::GetImageDrmFormatModifierPropertiesEXT(VkDevice device, VkImage image, VkImageDrmFormatModifierPropertiesEXT* pProperties) { if (!wrap_handles) return device_dispatch_table.GetImageDrmFormatModifierPropertiesEXT(device, image, pProperties); - { image = Unwrap(image); } + { + image = Unwrap(image); + } VkResult result = device_dispatch_table.GetImageDrmFormatModifierPropertiesEXT(device, image, pProperties); return result; @@ -6140,7 +6292,9 @@ VkResult Device::MergeValidationCachesEXT(VkDevice device, VkValidationCacheEXT VkResult Device::GetValidationCacheDataEXT(VkDevice device, VkValidationCacheEXT validationCache, size_t* pDataSize, void* pData) { if (!wrap_handles) return device_dispatch_table.GetValidationCacheDataEXT(device, validationCache, pDataSize, pData); - { validationCache = Unwrap(validationCache); } + { + validationCache = Unwrap(validationCache); + } VkResult result = device_dispatch_table.GetValidationCacheDataEXT(device, validationCache, pDataSize, pData); return result; @@ -6148,7 +6302,9 @@ VkResult Device::GetValidationCacheDataEXT(VkDevice device, VkValidationCacheEXT void Device::CmdBindShadingRateImageNV(VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout) { if (!wrap_handles) return device_dispatch_table.CmdBindShadingRateImageNV(commandBuffer, imageView, imageLayout); - { imageView = Unwrap(imageView); } + { + imageView = Unwrap(imageView); + } device_dispatch_table.CmdBindShadingRateImageNV(commandBuffer, imageView, imageLayout); } @@ -6341,7 +6497,9 @@ VkResult Device::GetRayTracingShaderGroupHandlesKHR(VkDevice device, VkPipeline size_t dataSize, void* pData) { if (!wrap_handles) return device_dispatch_table.GetRayTracingShaderGroupHandlesKHR(device, pipeline, firstGroup, groupCount, dataSize, pData); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } VkResult result = device_dispatch_table.GetRayTracingShaderGroupHandlesKHR(device, pipeline, firstGroup, groupCount, dataSize, pData); @@ -6352,7 +6510,9 @@ VkResult Device::GetRayTracingShaderGroupHandlesNV(VkDevice device, VkPipeline p size_t dataSize, void* pData) { if (!wrap_handles) return device_dispatch_table.GetRayTracingShaderGroupHandlesNV(device, pipeline, firstGroup, groupCount, dataSize, pData); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } VkResult result = device_dispatch_table.GetRayTracingShaderGroupHandlesNV(device, pipeline, firstGroup, groupCount, dataSize, pData); @@ -6363,7 +6523,9 @@ VkResult Device::GetAccelerationStructureHandleNV(VkDevice device, VkAcceleratio void* pData) { if (!wrap_handles) return device_dispatch_table.GetAccelerationStructureHandleNV(device, accelerationStructure, dataSize, pData); - { accelerationStructure = Unwrap(accelerationStructure); } + { + accelerationStructure = Unwrap(accelerationStructure); + } VkResult result = device_dispatch_table.GetAccelerationStructureHandleNV(device, accelerationStructure, dataSize, pData); return result; @@ -6394,7 +6556,9 @@ void Device::CmdWriteAccelerationStructuresPropertiesNV(VkCommandBuffer commandB VkResult Device::CompileDeferredNV(VkDevice device, VkPipeline pipeline, uint32_t shader) { if (!wrap_handles) return device_dispatch_table.CompileDeferredNV(device, pipeline, shader); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } VkResult result = device_dispatch_table.CompileDeferredNV(device, pipeline, shader); return result; @@ -6413,14 +6577,18 @@ void Device::CmdWriteBufferMarkerAMD(VkCommandBuffer commandBuffer, VkPipelineSt VkDeviceSize dstOffset, uint32_t marker) { if (!wrap_handles) return device_dispatch_table.CmdWriteBufferMarkerAMD(commandBuffer, pipelineStage, dstBuffer, dstOffset, marker); - { dstBuffer = Unwrap(dstBuffer); } + { + dstBuffer = Unwrap(dstBuffer); + } device_dispatch_table.CmdWriteBufferMarkerAMD(commandBuffer, pipelineStage, dstBuffer, dstOffset, marker); } void Device::CmdWriteBufferMarker2AMD(VkCommandBuffer commandBuffer, VkPipelineStageFlags2 stage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker) { if (!wrap_handles) return device_dispatch_table.CmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker); - { dstBuffer = Unwrap(dstBuffer); } + { + dstBuffer = Unwrap(dstBuffer); + } device_dispatch_table.CmdWriteBufferMarker2AMD(commandBuffer, stage, dstBuffer, dstOffset, marker); } @@ -6463,7 +6631,9 @@ void Device::CmdDrawMeshTasksNV(VkCommandBuffer commandBuffer, uint32_t taskCoun void Device::CmdDrawMeshTasksIndirectNV(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) { if (!wrap_handles) return device_dispatch_table.CmdDrawMeshTasksIndirectNV(commandBuffer, buffer, offset, drawCount, stride); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdDrawMeshTasksIndirectNV(commandBuffer, buffer, offset, drawCount, stride); } @@ -6506,7 +6676,9 @@ void Device::GetQueueCheckpointData2NV(VkQueue queue, uint32_t* pCheckpointDataC VkResult Device::SetSwapchainPresentTimingQueueSizeEXT(VkDevice device, VkSwapchainKHR swapchain, uint32_t size) { if (!wrap_handles) return device_dispatch_table.SetSwapchainPresentTimingQueueSizeEXT(device, swapchain, size); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.SetSwapchainPresentTimingQueueSizeEXT(device, swapchain, size); return result; @@ -6518,7 +6690,9 @@ VkResult Device::GetSwapchainTimingPropertiesEXT(VkDevice device, VkSwapchainKHR if (!wrap_handles) return device_dispatch_table.GetSwapchainTimingPropertiesEXT(device, swapchain, pSwapchainTimingProperties, pSwapchainTimingPropertiesCounter); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.GetSwapchainTimingPropertiesEXT(device, swapchain, pSwapchainTimingProperties, pSwapchainTimingPropertiesCounter); @@ -6531,7 +6705,9 @@ VkResult Device::GetSwapchainTimeDomainPropertiesEXT(VkDevice device, VkSwapchai if (!wrap_handles) return device_dispatch_table.GetSwapchainTimeDomainPropertiesEXT(device, swapchain, pSwapchainTimeDomainProperties, pTimeDomainsCounter); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.GetSwapchainTimeDomainPropertiesEXT(device, swapchain, pSwapchainTimeDomainProperties, pTimeDomainsCounter); @@ -6603,7 +6779,9 @@ VkResult Device::AcquirePerformanceConfigurationINTEL(VkDevice device, VkResult Device::QueueSetPerformanceConfigurationINTEL(VkQueue queue, VkPerformanceConfigurationINTEL configuration) { if (!wrap_handles) return device_dispatch_table.QueueSetPerformanceConfigurationINTEL(queue, configuration); - { configuration = Unwrap(configuration); } + { + configuration = Unwrap(configuration); + } VkResult result = device_dispatch_table.QueueSetPerformanceConfigurationINTEL(queue, configuration); return result; @@ -6618,7 +6796,9 @@ VkResult Device::GetPerformanceParameterINTEL(VkDevice device, VkPerformancePara void Device::SetLocalDimmingAMD(VkDevice device, VkSwapchainKHR swapChain, VkBool32 localDimmingEnable) { if (!wrap_handles) return device_dispatch_table.SetLocalDimmingAMD(device, swapChain, localDimmingEnable); - { swapChain = Unwrap(swapChain); } + { + swapChain = Unwrap(swapChain); + } device_dispatch_table.SetLocalDimmingAMD(device, swapChain, localDimmingEnable); } #ifdef VK_USE_PLATFORM_FUCHSIA @@ -6710,7 +6890,9 @@ VkResult Instance::GetPhysicalDeviceSurfacePresentModes2EXT(VkPhysicalDevice phy VkResult Device::AcquireFullScreenExclusiveModeEXT(VkDevice device, VkSwapchainKHR swapchain) { if (!wrap_handles) return device_dispatch_table.AcquireFullScreenExclusiveModeEXT(device, swapchain); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.AcquireFullScreenExclusiveModeEXT(device, swapchain); return result; @@ -6718,7 +6900,9 @@ VkResult Device::AcquireFullScreenExclusiveModeEXT(VkDevice device, VkSwapchainK VkResult Device::ReleaseFullScreenExclusiveModeEXT(VkDevice device, VkSwapchainKHR swapchain) { if (!wrap_handles) return device_dispatch_table.ReleaseFullScreenExclusiveModeEXT(device, swapchain); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.ReleaseFullScreenExclusiveModeEXT(device, swapchain); return result; @@ -6763,7 +6947,9 @@ void Device::CmdSetLineStippleEXT(VkCommandBuffer commandBuffer, uint32_t lineSt void Device::ResetQueryPoolEXT(VkDevice device, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount) { if (!wrap_handles) return device_dispatch_table.ResetQueryPoolEXT(device, queryPool, firstQuery, queryCount); - { queryPool = Unwrap(queryPool); } + { + queryPool = Unwrap(queryPool); + } device_dispatch_table.ResetQueryPoolEXT(device, queryPool, firstQuery, queryCount); } @@ -6922,7 +7108,9 @@ VkResult Device::TransitionImageLayoutEXT(VkDevice device, uint32_t transitionCo void Device::GetImageSubresourceLayout2EXT(VkDevice device, VkImage image, const VkImageSubresource2* pSubresource, VkSubresourceLayout2* pLayout) { if (!wrap_handles) return device_dispatch_table.GetImageSubresourceLayout2EXT(device, image, pSubresource, pLayout); - { image = Unwrap(image); } + { + image = Unwrap(image); + } device_dispatch_table.GetImageSubresourceLayout2EXT(device, image, pSubresource, pLayout); } @@ -7053,7 +7241,9 @@ void Device::CmdBindPipelineShaderGroupNV(VkCommandBuffer commandBuffer, VkPipel uint32_t groupIndex) { if (!wrap_handles) return device_dispatch_table.CmdBindPipelineShaderGroupNV(commandBuffer, pipelineBindPoint, pipeline, groupIndex); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } device_dispatch_table.CmdBindPipelineShaderGroupNV(commandBuffer, pipelineBindPoint, pipeline, groupIndex); } @@ -7099,7 +7289,9 @@ void Device::CmdSetDepthBias2EXT(VkCommandBuffer commandBuffer, const VkDepthBia VkResult Instance::AcquireDrmDisplayEXT(VkPhysicalDevice physicalDevice, int32_t drmFd, VkDisplayKHR display) { if (!wrap_handles) return instance_dispatch_table.AcquireDrmDisplayEXT(physicalDevice, drmFd, display); - { display = Unwrap(display); } + { + display = Unwrap(display); + } VkResult result = instance_dispatch_table.AcquireDrmDisplayEXT(physicalDevice, drmFd, display); return result; @@ -7173,7 +7365,9 @@ VkResult Device::CreateCudaModuleNV(VkDevice device, const VkCudaModuleCreateInf VkResult Device::GetCudaModuleCacheNV(VkDevice device, VkCudaModuleNV module, size_t* pCacheSize, void* pCacheData) { if (!wrap_handles) return device_dispatch_table.GetCudaModuleCacheNV(device, module, pCacheSize, pCacheData); - { module = Unwrap(module); } + { + module = Unwrap(module); + } VkResult result = device_dispatch_table.GetCudaModuleCacheNV(device, module, pCacheSize, pCacheData); return result; @@ -7246,14 +7440,18 @@ void Device::CmdEndPerTileExecutionQCOM(VkCommandBuffer commandBuffer, const VkP void Device::GetDescriptorSetLayoutSizeEXT(VkDevice device, VkDescriptorSetLayout layout, VkDeviceSize* pLayoutSizeInBytes) { if (!wrap_handles) return device_dispatch_table.GetDescriptorSetLayoutSizeEXT(device, layout, pLayoutSizeInBytes); - { layout = Unwrap(layout); } + { + layout = Unwrap(layout); + } device_dispatch_table.GetDescriptorSetLayoutSizeEXT(device, layout, pLayoutSizeInBytes); } void Device::GetDescriptorSetLayoutBindingOffsetEXT(VkDevice device, VkDescriptorSetLayout layout, uint32_t binding, VkDeviceSize* pOffset) { if (!wrap_handles) return device_dispatch_table.GetDescriptorSetLayoutBindingOffsetEXT(device, layout, binding, pOffset); - { layout = Unwrap(layout); } + { + layout = Unwrap(layout); + } device_dispatch_table.GetDescriptorSetLayoutBindingOffsetEXT(device, layout, binding, pOffset); } @@ -7282,7 +7480,9 @@ void Device::CmdSetDescriptorBufferOffsetsEXT(VkCommandBuffer commandBuffer, VkP if (!wrap_handles) return device_dispatch_table.CmdSetDescriptorBufferOffsetsEXT(commandBuffer, pipelineBindPoint, layout, firstSet, setCount, pBufferIndices, pOffsets); - { layout = Unwrap(layout); } + { + layout = Unwrap(layout); + } device_dispatch_table.CmdSetDescriptorBufferOffsetsEXT(commandBuffer, pipelineBindPoint, layout, firstSet, setCount, pBufferIndices, pOffsets); } @@ -7291,7 +7491,9 @@ void Device::CmdBindDescriptorBufferEmbeddedSamplersEXT(VkCommandBuffer commandB VkPipelineLayout layout, uint32_t set) { if (!wrap_handles) return device_dispatch_table.CmdBindDescriptorBufferEmbeddedSamplersEXT(commandBuffer, pipelineBindPoint, layout, set); - { layout = Unwrap(layout); } + { + layout = Unwrap(layout); + } device_dispatch_table.CmdBindDescriptorBufferEmbeddedSamplersEXT(commandBuffer, pipelineBindPoint, layout, set); } @@ -7417,7 +7619,9 @@ VkResult Device::GetDeviceFaultInfoEXT(VkDevice device, VkDeviceFaultCountsEXT* VkResult Instance::AcquireWinrtDisplayNV(VkPhysicalDevice physicalDevice, VkDisplayKHR display) { if (!wrap_handles) return instance_dispatch_table.AcquireWinrtDisplayNV(physicalDevice, display); - { display = Unwrap(display); } + { + display = Unwrap(display); + } VkResult result = instance_dispatch_table.AcquireWinrtDisplayNV(physicalDevice, display); return result; @@ -7551,7 +7755,9 @@ VkResult Device::SetBufferCollectionImageConstraintsFUCHSIA(VkDevice device, VkB const VkImageConstraintsInfoFUCHSIA* pImageConstraintsInfo) { if (!wrap_handles) return device_dispatch_table.SetBufferCollectionImageConstraintsFUCHSIA(device, collection, pImageConstraintsInfo); - { collection = Unwrap(collection); } + { + collection = Unwrap(collection); + } VkResult result = device_dispatch_table.SetBufferCollectionImageConstraintsFUCHSIA(device, collection, pImageConstraintsInfo); return result; @@ -7561,7 +7767,9 @@ VkResult Device::SetBufferCollectionBufferConstraintsFUCHSIA(VkDevice device, Vk const VkBufferConstraintsInfoFUCHSIA* pBufferConstraintsInfo) { if (!wrap_handles) return device_dispatch_table.SetBufferCollectionBufferConstraintsFUCHSIA(device, collection, pBufferConstraintsInfo); - { collection = Unwrap(collection); } + { + collection = Unwrap(collection); + } VkResult result = device_dispatch_table.SetBufferCollectionBufferConstraintsFUCHSIA(device, collection, pBufferConstraintsInfo); return result; @@ -7577,7 +7785,9 @@ void Device::DestroyBufferCollectionFUCHSIA(VkDevice device, VkBufferCollectionF VkResult Device::GetBufferCollectionPropertiesFUCHSIA(VkDevice device, VkBufferCollectionFUCHSIA collection, VkBufferCollectionPropertiesFUCHSIA* pProperties) { if (!wrap_handles) return device_dispatch_table.GetBufferCollectionPropertiesFUCHSIA(device, collection, pProperties); - { collection = Unwrap(collection); } + { + collection = Unwrap(collection); + } VkResult result = device_dispatch_table.GetBufferCollectionPropertiesFUCHSIA(device, collection, pProperties); return result; @@ -7588,7 +7798,9 @@ VkResult Device::GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(VkDevice device, VkExtent2D* pMaxWorkgroupSize) { if (!wrap_handles) return device_dispatch_table.GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(device, renderpass, pMaxWorkgroupSize); - { renderpass = Unwrap(renderpass); } + { + renderpass = Unwrap(renderpass); + } VkResult result = device_dispatch_table.GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI(device, renderpass, pMaxWorkgroupSize); return result; @@ -7600,7 +7812,9 @@ void Device::CmdSubpassShadingHUAWEI(VkCommandBuffer commandBuffer) { void Device::CmdBindInvocationMaskHUAWEI(VkCommandBuffer commandBuffer, VkImageView imageView, VkImageLayout imageLayout) { if (!wrap_handles) return device_dispatch_table.CmdBindInvocationMaskHUAWEI(commandBuffer, imageView, imageLayout); - { imageView = Unwrap(imageView); } + { + imageView = Unwrap(imageView); + } device_dispatch_table.CmdBindInvocationMaskHUAWEI(commandBuffer, imageView, imageLayout); } @@ -8005,13 +8219,17 @@ void Device::CmdDrawClusterHUAWEI(VkCommandBuffer commandBuffer, uint32_t groupC void Device::CmdDrawClusterIndirectHUAWEI(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset) { if (!wrap_handles) return device_dispatch_table.CmdDrawClusterIndirectHUAWEI(commandBuffer, buffer, offset); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdDrawClusterIndirectHUAWEI(commandBuffer, buffer, offset); } void Device::SetDeviceMemoryPriorityEXT(VkDevice device, VkDeviceMemory memory, float priority) { if (!wrap_handles) return device_dispatch_table.SetDeviceMemoryPriorityEXT(device, memory, priority); - { memory = Unwrap(memory); } + { + memory = Unwrap(memory); + } device_dispatch_table.SetDeviceMemoryPriorityEXT(device, memory, priority); } @@ -8038,7 +8256,9 @@ void Device::GetDescriptorSetLayoutHostMappingInfoVALVE(VkDevice device, void Device::GetDescriptorSetHostMappingVALVE(VkDevice device, VkDescriptorSet descriptorSet, void** ppData) { if (!wrap_handles) return device_dispatch_table.GetDescriptorSetHostMappingVALVE(device, descriptorSet, ppData); - { descriptorSet = Unwrap(descriptorSet); } + { + descriptorSet = Unwrap(descriptorSet); + } device_dispatch_table.GetDescriptorSetHostMappingVALVE(device, descriptorSet, ppData); } @@ -8053,7 +8273,9 @@ void Device::CmdCopyMemoryToImageIndirectNV(VkCommandBuffer commandBuffer, VkDev if (!wrap_handles) return device_dispatch_table.CmdCopyMemoryToImageIndirectNV(commandBuffer, copyBufferAddress, copyCount, stride, dstImage, dstImageLayout, pImageSubresources); - { dstImage = Unwrap(dstImage); } + { + dstImage = Unwrap(dstImage); + } device_dispatch_table.CmdCopyMemoryToImageIndirectNV(commandBuffer, copyBufferAddress, copyCount, stride, dstImage, dstImageLayout, pImageSubresources); } @@ -8101,7 +8323,9 @@ void Device::GetPipelineIndirectMemoryRequirementsNV(VkDevice device, const VkCo void Device::CmdUpdatePipelineIndirectBufferNV(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) { if (!wrap_handles) return device_dispatch_table.CmdUpdatePipelineIndirectBufferNV(commandBuffer, pipelineBindPoint, pipeline); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } device_dispatch_table.CmdUpdatePipelineIndirectBufferNV(commandBuffer, pipelineBindPoint, pipeline); } @@ -8453,7 +8677,9 @@ VkResult Device::GetTensorViewOpaqueCaptureDescriptorDataARM(VkDevice device, co void Device::GetShaderModuleIdentifierEXT(VkDevice device, VkShaderModule shaderModule, VkShaderModuleIdentifierEXT* pIdentifier) { if (!wrap_handles) return device_dispatch_table.GetShaderModuleIdentifierEXT(device, shaderModule, pIdentifier); - { shaderModule = Unwrap(shaderModule); } + { + shaderModule = Unwrap(shaderModule); + } device_dispatch_table.GetShaderModuleIdentifierEXT(device, shaderModule, pIdentifier); } @@ -8516,7 +8742,9 @@ VkResult Device::BindOpticalFlowSessionImageNV(VkDevice device, VkOpticalFlowSes void Device::CmdOpticalFlowExecuteNV(VkCommandBuffer commandBuffer, VkOpticalFlowSessionNV session, const VkOpticalFlowExecuteInfoNV* pExecuteInfo) { if (!wrap_handles) return device_dispatch_table.CmdOpticalFlowExecuteNV(commandBuffer, session, pExecuteInfo); - { session = Unwrap(session); } + { + session = Unwrap(session); + } device_dispatch_table.CmdOpticalFlowExecuteNV(commandBuffer, session, pExecuteInfo); } @@ -8532,7 +8760,9 @@ void Device::DestroyShaderEXT(VkDevice device, VkShaderEXT shader, const VkAlloc VkResult Device::GetShaderBinaryDataEXT(VkDevice device, VkShaderEXT shader, size_t* pDataSize, void* pData) { if (!wrap_handles) return device_dispatch_table.GetShaderBinaryDataEXT(device, shader, pDataSize, pData); - { shader = Unwrap(shader); } + { + shader = Unwrap(shader); + } VkResult result = device_dispatch_table.GetShaderBinaryDataEXT(device, shader, pDataSize, pData); return result; @@ -8564,7 +8794,9 @@ VkResult Device::GetFramebufferTilePropertiesQCOM(VkDevice device, VkFramebuffer VkTilePropertiesQCOM* pProperties) { if (!wrap_handles) return device_dispatch_table.GetFramebufferTilePropertiesQCOM(device, framebuffer, pPropertiesCount, pProperties); - { framebuffer = Unwrap(framebuffer); } + { + framebuffer = Unwrap(framebuffer); + } VkResult result = device_dispatch_table.GetFramebufferTilePropertiesQCOM(device, framebuffer, pPropertiesCount, pProperties); return result; @@ -8639,7 +8871,9 @@ void Device::CmdConvertCooperativeVectorMatrixNV(VkCommandBuffer commandBuffer, VkResult Device::SetLatencySleepModeNV(VkDevice device, VkSwapchainKHR swapchain, const VkLatencySleepModeInfoNV* pSleepModeInfo) { if (!wrap_handles) return device_dispatch_table.SetLatencySleepModeNV(device, swapchain, pSleepModeInfo); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } VkResult result = device_dispatch_table.SetLatencySleepModeNV(device, swapchain, pSleepModeInfo); return result; @@ -8667,13 +8901,17 @@ VkResult Device::LatencySleepNV(VkDevice device, VkSwapchainKHR swapchain, const void Device::SetLatencyMarkerNV(VkDevice device, VkSwapchainKHR swapchain, const VkSetLatencyMarkerInfoNV* pLatencyMarkerInfo) { if (!wrap_handles) return device_dispatch_table.SetLatencyMarkerNV(device, swapchain, pLatencyMarkerInfo); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } device_dispatch_table.SetLatencyMarkerNV(device, swapchain, pLatencyMarkerInfo); } void Device::GetLatencyTimingsNV(VkDevice device, VkSwapchainKHR swapchain, VkGetLatencyMarkerInfoNV* pLatencyMarkerInfo) { if (!wrap_handles) return device_dispatch_table.GetLatencyTimingsNV(device, swapchain, pLatencyMarkerInfo); - { swapchain = Unwrap(swapchain); } + { + swapchain = Unwrap(swapchain); + } device_dispatch_table.GetLatencyTimingsNV(device, swapchain, pLatencyMarkerInfo); } @@ -8788,7 +9026,9 @@ void Device::DestroyDataGraphPipelineSessionARM(VkDevice device, VkDataGraphPipe void Device::CmdDispatchDataGraphARM(VkCommandBuffer commandBuffer, VkDataGraphPipelineSessionARM session, const VkDataGraphPipelineDispatchInfoARM* pInfo) { if (!wrap_handles) return device_dispatch_table.CmdDispatchDataGraphARM(commandBuffer, session, pInfo); - { session = Unwrap(session); } + { + session = Unwrap(session); + } device_dispatch_table.CmdDispatchDataGraphARM(commandBuffer, session, pInfo); } @@ -9503,7 +9743,9 @@ VkResult Device::GetRayTracingCaptureReplayShaderGroupHandlesKHR(VkDevice device if (!wrap_handles) return device_dispatch_table.GetRayTracingCaptureReplayShaderGroupHandlesKHR(device, pipeline, firstGroup, groupCount, dataSize, pData); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } VkResult result = device_dispatch_table.GetRayTracingCaptureReplayShaderGroupHandlesKHR(device, pipeline, firstGroup, groupCount, dataSize, pData); @@ -9523,7 +9765,9 @@ void Device::CmdTraceRaysIndirectKHR(VkCommandBuffer commandBuffer, VkDeviceSize Device::GetRayTracingShaderGroupStackSizeKHR(VkDevice device, VkPipeline pipeline, uint32_t group, VkShaderGroupShaderKHR groupShader) { if (!wrap_handles) return device_dispatch_table.GetRayTracingShaderGroupStackSizeKHR(device, pipeline, group, groupShader); - { pipeline = Unwrap(pipeline); } + { + pipeline = Unwrap(pipeline); + } VkDeviceSize result = device_dispatch_table.GetRayTracingShaderGroupStackSizeKHR(device, pipeline, group, groupShader); return result; @@ -9540,7 +9784,9 @@ void Device::CmdDrawMeshTasksEXT(VkCommandBuffer commandBuffer, uint32_t groupCo void Device::CmdDrawMeshTasksIndirectEXT(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) { if (!wrap_handles) return device_dispatch_table.CmdDrawMeshTasksIndirectEXT(commandBuffer, buffer, offset, drawCount, stride); - { buffer = Unwrap(buffer); } + { + buffer = Unwrap(buffer); + } device_dispatch_table.CmdDrawMeshTasksIndirectEXT(commandBuffer, buffer, offset, drawCount, stride); } diff --git a/layers/vulkan/generated/enum_flag_bits.h b/layers/vulkan/generated/enum_flag_bits.h index bb7315bd382..45e0e0d02cc 100644 --- a/layers/vulkan/generated/enum_flag_bits.h +++ b/layers/vulkan/generated/enum_flag_bits.h @@ -63,7 +63,7 @@ const VkRenderPassCreateFlags AllVkRenderPassCreateFlagBits = VK_RENDER_PASS_CRE const VkMemoryAllocateFlags AllVkMemoryAllocateFlagBits = VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT|VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT|VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT|VK_MEMORY_ALLOCATE_ZERO_INITIALIZE_BIT_EXT; const VkExternalMemoryHandleTypeFlags AllVkExternalMemoryHandleTypeFlagBits = VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID|VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA|VK_EXTERNAL_MEMORY_HANDLE_TYPE_RDMA_ADDRESS_BIT_NV|VK_EXTERNAL_MEMORY_HANDLE_TYPE_OH_NATIVE_BUFFER_BIT_OHOS|VK_EXTERNAL_MEMORY_HANDLE_TYPE_SCREEN_BUFFER_BIT_QNX|VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLBUFFER_BIT_EXT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLTEXTURE_BIT_EXT|VK_EXTERNAL_MEMORY_HANDLE_TYPE_MTLHEAP_BIT_EXT; const VkExternalFenceHandleTypeFlags AllVkExternalFenceHandleTypeFlagBits = VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT|VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT|VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT|VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT; -const VkExternalSemaphoreHandleTypeFlags AllVkExternalSemaphoreHandleTypeFlagBits = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA; +const VkExternalSemaphoreHandleTypeFlags AllVkExternalSemaphoreHandleTypeFlagBits = VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA|VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_DRM_SYNCOBJ_BIT_EXT; const VkSemaphoreWaitFlags AllVkSemaphoreWaitFlagBits = VK_SEMAPHORE_WAIT_ANY_BIT; const VkDescriptorBindingFlags AllVkDescriptorBindingFlagBits = VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT|VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT|VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT|VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT; const VkResolveModeFlags AllVkResolveModeFlagBits = VK_RESOLVE_MODE_NONE|VK_RESOLVE_MODE_SAMPLE_ZERO_BIT|VK_RESOLVE_MODE_AVERAGE_BIT|VK_RESOLVE_MODE_MIN_BIT|VK_RESOLVE_MODE_MAX_BIT|VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID|VK_RESOLVE_MODE_CUSTOM_BIT_EXT; diff --git a/layers/vulkan/generated/error_location_helper.cpp b/layers/vulkan/generated/error_location_helper.cpp index 58b17237598..dff255bf1ba 100644 --- a/layers/vulkan/generated/error_location_helper.cpp +++ b/layers/vulkan/generated/error_location_helper.cpp @@ -1486,6 +1486,7 @@ const char* String(Struct structure) { {"VkPhysicalDeviceExternalMemoryHostPropertiesEXT", 48}, {"VkPhysicalDeviceExternalMemoryRDMAFeaturesNV", 45}, {"VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX", 54}, + {"VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT", 55}, {"VkPhysicalDeviceExternalSemaphoreInfo", 38}, {"VkPhysicalDeviceExternalTensorInfoARM", 38}, {"VkPhysicalDeviceFaultFeaturesEXT", 33}, @@ -2814,6 +2815,7 @@ const char* String(Field field) { {"externalMemoryProperties", 25}, {"externalMemoryRDMA", 19}, {"externalQueue", 14}, + {"externalSemaphoreDrmSyncobj", 28}, {"externalSemaphoreFeatures", 26}, {"extraCount", 11}, {"extraPrimitiveOverestimationSize", 33}, @@ -5849,6 +5851,7 @@ const char* String(Extension extension) { {"VK_EXT_external_memory_dma_buf", 31}, {"VK_EXT_external_memory_host", 28}, {"VK_EXT_external_memory_metal", 29}, + {"VK_EXT_external_semaphore_drm_syncobj", 38}, {"VK_EXT_filter_cubic", 20}, {"VK_EXT_fragment_density_map", 28}, {"VK_EXT_fragment_density_map2", 29}, @@ -9133,6 +9136,8 @@ Struct StypeToStruct(VkStructureType stype) { return Struct::VkUbmSurfaceCreateInfoSEC; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MIXED_FLOAT_DOT_PRODUCT_FEATURES_VALVE: return Struct::VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_DRM_SYNCOBJ_FEATURES_EXT: + return Struct::VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR: return Struct::VkAccelerationStructureGeometryTrianglesDataKHR; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_AABBS_DATA_KHR: diff --git a/layers/vulkan/generated/error_location_helper.h b/layers/vulkan/generated/error_location_helper.h index cd2857be09f..90219bc57f1 100644 --- a/layers/vulkan/generated/error_location_helper.h +++ b/layers/vulkan/generated/error_location_helper.h @@ -1480,6 +1480,7 @@ enum class Struct { VkPhysicalDeviceExternalMemoryHostPropertiesEXT, VkPhysicalDeviceExternalMemoryRDMAFeaturesNV, VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX, + VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT, VkPhysicalDeviceExternalSemaphoreInfo, VkPhysicalDeviceExternalTensorInfoARM, VkPhysicalDeviceFaultFeaturesEXT, @@ -2805,6 +2806,7 @@ enum class Field { externalMemoryProperties, externalMemoryRDMA, externalQueue, + externalSemaphoreDrmSyncobj, externalSemaphoreFeatures, extraCount, extraPrimitiveOverestimationSize, @@ -5831,6 +5833,7 @@ enum class Extension { _VK_EXT_external_memory_dma_buf, _VK_EXT_external_memory_host, _VK_EXT_external_memory_metal, + _VK_EXT_external_semaphore_drm_syncobj, _VK_EXT_filter_cubic, _VK_EXT_fragment_density_map, _VK_EXT_fragment_density_map2, diff --git a/layers/vulkan/generated/feature_not_present.cpp b/layers/vulkan/generated/feature_not_present.cpp index 64637a2e51c..dcbeb5f7394 100644 --- a/layers/vulkan/generated/feature_not_present.cpp +++ b/layers/vulkan/generated/feature_not_present.cpp @@ -26,14 +26,14 @@ namespace vvl { namespace dispatch { -void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDeviceCreateInfo &create_info) { +void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDeviceCreateInfo& create_info) { std::ostringstream ss; ss << "returned VK_ERROR_FEATURE_NOT_PRESENT because the following features were not supported on this physical device:\n"; // First do 1.0 VkPhysicalDeviceFeatures - const auto *features2_in = vku::FindStructInPNextChain(create_info.pNext); + const auto* features2_in = vku::FindStructInPNextChain(create_info.pNext); if (create_info.pEnabledFeatures || features2_in) { - const VkPhysicalDeviceFeatures &enabling = + const VkPhysicalDeviceFeatures& enabling = create_info.pEnabledFeatures ? *create_info.pEnabledFeatures : features2_in->features; VkPhysicalDeviceFeatures supported = {}; @@ -205,15 +205,15 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice } } VkPhysicalDeviceFeatures2 features_2 = vku::InitStructHelper(); - for (const VkBaseInStructure *current = static_cast(create_info.pNext); current != nullptr; + for (const VkBaseInStructure* current = static_cast(create_info.pNext); current != nullptr; current = current->pNext) { switch (current->sType) { case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: { VkPhysicalDevice16BitStorageFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevice16BitStorageFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDevice16BitStorageFeatures* enabling = + reinterpret_cast(current); if (enabling->storageBuffer16BitAccess && !supported.storageBuffer16BitAccess) { ss << "VkPhysicalDevice16BitStorageFeatures::storageBuffer16BitAccess is not supported\n"; } @@ -232,8 +232,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevice4444FormatsFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevice4444FormatsFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDevice4444FormatsFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->formatA4R4G4B4 && !supported.formatA4R4G4B4) { ss << "VkPhysicalDevice4444FormatsFeaturesEXT::formatA4R4G4B4 is not supported\n"; } @@ -246,8 +246,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevice8BitStorageFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevice8BitStorageFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDevice8BitStorageFeatures* enabling = + reinterpret_cast(current); if (enabling->storageBuffer8BitAccess && !supported.storageBuffer8BitAccess) { ss << "VkPhysicalDevice8BitStorageFeatures::storageBuffer8BitAccess is not supported\n"; } @@ -263,8 +263,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceASTCDecodeFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceASTCDecodeFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceASTCDecodeFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->decodeModeSharedExponent && !supported.decodeModeSharedExponent) { ss << "VkPhysicalDeviceASTCDecodeFeaturesEXT::decodeModeSharedExponent is not supported\n"; } @@ -274,8 +274,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceAccelerationStructureFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceAccelerationStructureFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceAccelerationStructureFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->accelerationStructure && !supported.accelerationStructure) { ss << "VkPhysicalDeviceAccelerationStructureFeaturesKHR::accelerationStructure is not supported\n"; } @@ -299,8 +299,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceAddressBindingReportFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceAddressBindingReportFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceAddressBindingReportFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->reportAddressBinding && !supported.reportAddressBinding) { ss << "VkPhysicalDeviceAddressBindingReportFeaturesEXT::reportAddressBinding is not supported\n"; } @@ -310,8 +310,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceAmigoProfilingFeaturesSEC supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceAmigoProfilingFeaturesSEC *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceAmigoProfilingFeaturesSEC* enabling = + reinterpret_cast(current); if (enabling->amigoProfiling && !supported.amigoProfiling) { ss << "VkPhysicalDeviceAmigoProfilingFeaturesSEC::amigoProfiling is not supported\n"; } @@ -321,8 +321,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceAntiLagFeaturesAMD supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceAntiLagFeaturesAMD *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceAntiLagFeaturesAMD* enabling = + reinterpret_cast(current); if (enabling->antiLag && !supported.antiLag) { ss << "VkPhysicalDeviceAntiLagFeaturesAMD::antiLag is not supported\n"; } @@ -332,8 +332,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->attachmentFeedbackLoopDynamicState && !supported.attachmentFeedbackLoopDynamicState) { ss << "VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT::attachmentFeedbackLoopDynamicState is " "not supported\n"; @@ -344,8 +344,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->attachmentFeedbackLoopLayout && !supported.attachmentFeedbackLoopLayout) { ss << "VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT::attachmentFeedbackLoopLayout is not " "supported\n"; @@ -356,8 +356,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->advancedBlendCoherentOperations && !supported.advancedBlendCoherentOperations) { ss << "VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT::advancedBlendCoherentOperations is not supported\n"; } @@ -367,8 +367,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceBorderColorSwizzleFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceBorderColorSwizzleFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceBorderColorSwizzleFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->borderColorSwizzle && !supported.borderColorSwizzle) { ss << "VkPhysicalDeviceBorderColorSwizzleFeaturesEXT::borderColorSwizzle is not supported\n"; } @@ -381,8 +381,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceBufferDeviceAddressFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceBufferDeviceAddressFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceBufferDeviceAddressFeatures* enabling = + reinterpret_cast(current); if (enabling->bufferDeviceAddress && !supported.bufferDeviceAddress) { ss << "VkPhysicalDeviceBufferDeviceAddressFeatures::bufferDeviceAddress is not supported\n"; } @@ -398,8 +398,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceBufferDeviceAddressFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceBufferDeviceAddressFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->bufferDeviceAddress && !supported.bufferDeviceAddress) { ss << "VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::bufferDeviceAddress is not supported\n"; } @@ -415,8 +415,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceClusterAccelerationStructureFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceClusterAccelerationStructureFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceClusterAccelerationStructureFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->clusterAccelerationStructure && !supported.clusterAccelerationStructure) { ss << "VkPhysicalDeviceClusterAccelerationStructureFeaturesNV::clusterAccelerationStructure is not supported\n"; } @@ -426,8 +426,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI* enabling = + reinterpret_cast(current); if (enabling->clustercullingShader && !supported.clustercullingShader) { ss << "VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI::clustercullingShader is not supported\n"; } @@ -440,8 +440,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCoherentMemoryFeaturesAMD supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCoherentMemoryFeaturesAMD *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCoherentMemoryFeaturesAMD* enabling = + reinterpret_cast(current); if (enabling->deviceCoherentMemory && !supported.deviceCoherentMemory) { ss << "VkPhysicalDeviceCoherentMemoryFeaturesAMD::deviceCoherentMemory is not supported\n"; } @@ -451,8 +451,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceColorWriteEnableFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceColorWriteEnableFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceColorWriteEnableFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->colorWriteEnable && !supported.colorWriteEnable) { ss << "VkPhysicalDeviceColorWriteEnableFeaturesEXT::colorWriteEnable is not supported\n"; } @@ -462,8 +462,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCommandBufferInheritanceFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCommandBufferInheritanceFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCommandBufferInheritanceFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->commandBufferInheritance && !supported.commandBufferInheritance) { ss << "VkPhysicalDeviceCommandBufferInheritanceFeaturesNV::commandBufferInheritance is not supported\n"; } @@ -473,8 +473,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->computeOccupancyPriority && !supported.computeOccupancyPriority) { ss << "VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV::computeOccupancyPriority is not supported\n"; } @@ -484,8 +484,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->computeDerivativeGroupQuads && !supported.computeDerivativeGroupQuads) { ss << "VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR::computeDerivativeGroupQuads is not supported\n"; } @@ -498,8 +498,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceConditionalRenderingFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceConditionalRenderingFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceConditionalRenderingFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->conditionalRendering && !supported.conditionalRendering) { ss << "VkPhysicalDeviceConditionalRenderingFeaturesEXT::conditionalRendering is not supported\n"; } @@ -512,8 +512,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCooperativeMatrix2FeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCooperativeMatrix2FeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCooperativeMatrix2FeaturesNV* enabling = + reinterpret_cast(current); if (enabling->cooperativeMatrixWorkgroupScope && !supported.cooperativeMatrixWorkgroupScope) { ss << "VkPhysicalDeviceCooperativeMatrix2FeaturesNV::cooperativeMatrixWorkgroupScope is not supported\n"; } @@ -541,8 +541,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->cooperativeMatrixConversion && !supported.cooperativeMatrixConversion) { ss << "VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM::cooperativeMatrixConversion is not supported\n"; } @@ -552,8 +552,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCooperativeMatrixFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCooperativeMatrixFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCooperativeMatrixFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->cooperativeMatrix && !supported.cooperativeMatrix) { ss << "VkPhysicalDeviceCooperativeMatrixFeaturesKHR::cooperativeMatrix is not supported\n"; } @@ -566,8 +566,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCooperativeMatrixFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCooperativeMatrixFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCooperativeMatrixFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->cooperativeMatrix && !supported.cooperativeMatrix) { ss << "VkPhysicalDeviceCooperativeMatrixFeaturesNV::cooperativeMatrix is not supported\n"; } @@ -580,8 +580,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCooperativeVectorFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCooperativeVectorFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCooperativeVectorFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->cooperativeVector && !supported.cooperativeVector) { ss << "VkPhysicalDeviceCooperativeVectorFeaturesNV::cooperativeVector is not supported\n"; } @@ -594,8 +594,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->indirectMemoryCopy && !supported.indirectMemoryCopy) { ss << "VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR::indirectMemoryCopy is not supported\n"; } @@ -608,8 +608,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCopyMemoryIndirectFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCopyMemoryIndirectFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCopyMemoryIndirectFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->indirectCopy && !supported.indirectCopy) { ss << "VkPhysicalDeviceCopyMemoryIndirectFeaturesNV::indirectCopy is not supported\n"; } @@ -619,8 +619,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCornerSampledImageFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCornerSampledImageFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCornerSampledImageFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->cornerSampledImage && !supported.cornerSampledImage) { ss << "VkPhysicalDeviceCornerSampledImageFeaturesNV::cornerSampledImage is not supported\n"; } @@ -630,8 +630,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCoverageReductionModeFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCoverageReductionModeFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCoverageReductionModeFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->coverageReductionMode && !supported.coverageReductionMode) { ss << "VkPhysicalDeviceCoverageReductionModeFeaturesNV::coverageReductionMode is not supported\n"; } @@ -641,8 +641,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCubicClampFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCubicClampFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCubicClampFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->cubicRangeClamp && !supported.cubicRangeClamp) { ss << "VkPhysicalDeviceCubicClampFeaturesQCOM::cubicRangeClamp is not supported\n"; } @@ -652,8 +652,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCubicWeightsFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCubicWeightsFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCubicWeightsFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->selectableCubicWeights && !supported.selectableCubicWeights) { ss << "VkPhysicalDeviceCubicWeightsFeaturesQCOM::selectableCubicWeights is not supported\n"; } @@ -664,8 +664,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCudaKernelLaunchFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCudaKernelLaunchFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCudaKernelLaunchFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->cudaKernelLaunchFeatures && !supported.cudaKernelLaunchFeatures) { ss << "VkPhysicalDeviceCudaKernelLaunchFeaturesNV::cudaKernelLaunchFeatures is not supported\n"; } @@ -676,8 +676,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCustomBorderColorFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCustomBorderColorFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCustomBorderColorFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->customBorderColors && !supported.customBorderColors) { ss << "VkPhysicalDeviceCustomBorderColorFeaturesEXT::customBorderColors is not supported\n"; } @@ -690,8 +690,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceCustomResolveFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceCustomResolveFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceCustomResolveFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->customResolve && !supported.customResolve) { ss << "VkPhysicalDeviceCustomResolveFeaturesEXT::customResolve is not supported\n"; } @@ -701,8 +701,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDataGraphFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDataGraphFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDataGraphFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->dataGraph && !supported.dataGraph) { ss << "VkPhysicalDeviceDataGraphFeaturesARM::dataGraph is not supported\n"; } @@ -724,8 +724,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDataGraphModelFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDataGraphModelFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDataGraphModelFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->dataGraphModel && !supported.dataGraphModel) { ss << "VkPhysicalDeviceDataGraphModelFeaturesQCOM::dataGraphModel is not supported\n"; } @@ -735,8 +735,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->dedicatedAllocationImageAliasing && !supported.dedicatedAllocationImageAliasing) { ss << "VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV::dedicatedAllocationImageAliasing is not " "supported\n"; @@ -748,8 +748,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX* enabling = + reinterpret_cast(current); if (enabling->denseGeometryFormat && !supported.denseGeometryFormat) { ss << "VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX::denseGeometryFormat is not supported\n"; } @@ -760,8 +760,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDepthBiasControlFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDepthBiasControlFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDepthBiasControlFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->depthBiasControl && !supported.depthBiasControl) { ss << "VkPhysicalDeviceDepthBiasControlFeaturesEXT::depthBiasControl is not supported\n"; } @@ -782,8 +782,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDepthClampControlFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDepthClampControlFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDepthClampControlFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->depthClampControl && !supported.depthClampControl) { ss << "VkPhysicalDeviceDepthClampControlFeaturesEXT::depthClampControl is not supported\n"; } @@ -793,8 +793,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDepthClampZeroOneFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDepthClampZeroOneFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDepthClampZeroOneFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->depthClampZeroOne && !supported.depthClampZeroOne) { ss << "VkPhysicalDeviceDepthClampZeroOneFeaturesKHR::depthClampZeroOne is not supported\n"; } @@ -804,8 +804,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDepthClipControlFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDepthClipControlFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDepthClipControlFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->depthClipControl && !supported.depthClipControl) { ss << "VkPhysicalDeviceDepthClipControlFeaturesEXT::depthClipControl is not supported\n"; } @@ -815,8 +815,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDepthClipEnableFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDepthClipEnableFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDepthClipEnableFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->depthClipEnable && !supported.depthClipEnable) { ss << "VkPhysicalDeviceDepthClipEnableFeaturesEXT::depthClipEnable is not supported\n"; } @@ -826,8 +826,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDescriptorBufferFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDescriptorBufferFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDescriptorBufferFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->descriptorBuffer && !supported.descriptorBuffer) { ss << "VkPhysicalDeviceDescriptorBufferFeaturesEXT::descriptorBuffer is not supported\n"; } @@ -846,8 +846,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDescriptorBufferTensorFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDescriptorBufferTensorFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDescriptorBufferTensorFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->descriptorBufferTensorDescriptors && !supported.descriptorBufferTensorDescriptors) { ss << "VkPhysicalDeviceDescriptorBufferTensorFeaturesARM::descriptorBufferTensorDescriptors is not supported\n"; } @@ -857,8 +857,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDescriptorHeapFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDescriptorHeapFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDescriptorHeapFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->descriptorHeap && !supported.descriptorHeap) { ss << "VkPhysicalDeviceDescriptorHeapFeaturesEXT::descriptorHeap is not supported\n"; } @@ -871,8 +871,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDescriptorIndexingFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDescriptorIndexingFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDescriptorIndexingFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderInputAttachmentArrayDynamicIndexing && !supported.shaderInputAttachmentArrayDynamicIndexing) { ss << "VkPhysicalDeviceDescriptorIndexingFeatures::shaderInputAttachmentArrayDynamicIndexing is not " "supported\n"; @@ -967,8 +967,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->descriptorPoolOverallocation && !supported.descriptorPoolOverallocation) { ss << "VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV::descriptorPoolOverallocation is not supported\n"; } @@ -978,8 +978,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE* enabling = + reinterpret_cast(current); if (enabling->descriptorSetHostMapping && !supported.descriptorSetHostMapping) { ss << "VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE::descriptorSetHostMapping is not supported\n"; } @@ -989,8 +989,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->deviceGeneratedCompute && !supported.deviceGeneratedCompute) { ss << "VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV::deviceGeneratedCompute is not supported\n"; } @@ -1008,8 +1008,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->deviceGeneratedCommands && !supported.deviceGeneratedCommands) { ss << "VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT::deviceGeneratedCommands is not supported\n"; } @@ -1022,8 +1022,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->deviceGeneratedCommands && !supported.deviceGeneratedCommands) { ss << "VkPhysicalDeviceDeviceGeneratedCommandsFeaturesNV::deviceGeneratedCommands is not supported\n"; } @@ -1033,8 +1033,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDeviceMemoryReportFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDeviceMemoryReportFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDeviceMemoryReportFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->deviceMemoryReport && !supported.deviceMemoryReport) { ss << "VkPhysicalDeviceDeviceMemoryReportFeaturesEXT::deviceMemoryReport is not supported\n"; } @@ -1044,8 +1044,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDiagnosticsConfigFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDiagnosticsConfigFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDiagnosticsConfigFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->diagnosticsConfig && !supported.diagnosticsConfig) { ss << "VkPhysicalDeviceDiagnosticsConfigFeaturesNV::diagnosticsConfig is not supported\n"; } @@ -1056,8 +1056,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDisplacementMicromapFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDisplacementMicromapFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDisplacementMicromapFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->displacementMicromap && !supported.displacementMicromap) { ss << "VkPhysicalDeviceDisplacementMicromapFeaturesNV::displacementMicromap is not supported\n"; } @@ -1068,8 +1068,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDynamicRenderingFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDynamicRenderingFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDynamicRenderingFeatures* enabling = + reinterpret_cast(current); if (enabling->dynamicRendering && !supported.dynamicRendering) { ss << "VkPhysicalDeviceDynamicRenderingFeatures::dynamicRendering is not supported\n"; } @@ -1079,8 +1079,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDynamicRenderingLocalReadFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDynamicRenderingLocalReadFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDynamicRenderingLocalReadFeatures* enabling = + reinterpret_cast(current); if (enabling->dynamicRenderingLocalRead && !supported.dynamicRenderingLocalRead) { ss << "VkPhysicalDeviceDynamicRenderingLocalReadFeatures::dynamicRenderingLocalRead is not supported\n"; } @@ -1090,8 +1090,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->dynamicRenderingUnusedAttachments && !supported.dynamicRenderingUnusedAttachments) { ss << "VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT::dynamicRenderingUnusedAttachments is not " "supported\n"; @@ -1102,8 +1102,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceExclusiveScissorFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceExclusiveScissorFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceExclusiveScissorFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->exclusiveScissor && !supported.exclusiveScissor) { ss << "VkPhysicalDeviceExclusiveScissorFeaturesNV::exclusiveScissor is not supported\n"; } @@ -1113,8 +1113,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceExtendedDynamicState2FeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceExtendedDynamicState2FeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceExtendedDynamicState2FeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->extendedDynamicState2 && !supported.extendedDynamicState2) { ss << "VkPhysicalDeviceExtendedDynamicState2FeaturesEXT::extendedDynamicState2 is not supported\n"; } @@ -1131,8 +1131,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceExtendedDynamicState3FeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceExtendedDynamicState3FeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceExtendedDynamicState3FeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->extendedDynamicState3TessellationDomainOrigin && !supported.extendedDynamicState3TessellationDomainOrigin) { ss << "VkPhysicalDeviceExtendedDynamicState3FeaturesEXT::extendedDynamicState3TessellationDomainOrigin is not " @@ -1271,8 +1271,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceExtendedDynamicStateFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceExtendedDynamicStateFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceExtendedDynamicStateFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->extendedDynamicState && !supported.extendedDynamicState) { ss << "VkPhysicalDeviceExtendedDynamicStateFeaturesEXT::extendedDynamicState is not supported\n"; } @@ -1282,8 +1282,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->extendedSparseAddressSpace && !supported.extendedSparseAddressSpace) { ss << "VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV::extendedSparseAddressSpace is not supported\n"; } @@ -1294,8 +1294,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceExternalFormatResolveFeaturesANDROID supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceExternalFormatResolveFeaturesANDROID *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceExternalFormatResolveFeaturesANDROID* enabling = + reinterpret_cast(current); if (enabling->externalFormatResolve && !supported.externalFormatResolve) { ss << "VkPhysicalDeviceExternalFormatResolveFeaturesANDROID::externalFormatResolve is not supported\n"; } @@ -1306,8 +1306,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceExternalMemoryRDMAFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceExternalMemoryRDMAFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceExternalMemoryRDMAFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->externalMemoryRDMA && !supported.externalMemoryRDMA) { ss << "VkPhysicalDeviceExternalMemoryRDMAFeaturesNV::externalMemoryRDMA is not supported\n"; } @@ -1318,20 +1318,31 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX* enabling = + reinterpret_cast(current); if (enabling->screenBufferImport && !supported.screenBufferImport) { ss << "VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX::screenBufferImport is not supported\n"; } break; } #endif // VK_USE_PLATFORM_SCREEN_QNX + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_DRM_SYNCOBJ_FEATURES_EXT: { + VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT supported = vku::InitStructHelper(); + features_2.pNext = &supported; + DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); + const VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT* enabling = + reinterpret_cast(current); + if (enabling->externalSemaphoreDrmSyncobj && !supported.externalSemaphoreDrmSyncobj) { + ss << "VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT::externalSemaphoreDrmSyncobj is not supported\n"; + } + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT: { VkPhysicalDeviceFaultFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFaultFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFaultFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->deviceFault && !supported.deviceFault) { ss << "VkPhysicalDeviceFaultFeaturesEXT::deviceFault is not supported\n"; } @@ -1344,8 +1355,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFormatPackFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFormatPackFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFormatPackFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->formatPack && !supported.formatPack) { ss << "VkPhysicalDeviceFormatPackFeaturesARM::formatPack is not supported\n"; } @@ -1355,8 +1366,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFragmentDensityMap2FeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFragmentDensityMap2FeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFragmentDensityMap2FeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->fragmentDensityMapDeferred && !supported.fragmentDensityMapDeferred) { ss << "VkPhysicalDeviceFragmentDensityMap2FeaturesEXT::fragmentDensityMapDeferred is not supported\n"; } @@ -1366,8 +1377,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFragmentDensityMapFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFragmentDensityMapFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFragmentDensityMapFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->fragmentDensityMap && !supported.fragmentDensityMap) { ss << "VkPhysicalDeviceFragmentDensityMapFeaturesEXT::fragmentDensityMap is not supported\n"; } @@ -1383,8 +1394,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE* enabling = + reinterpret_cast(current); if (enabling->fragmentDensityMapLayered && !supported.fragmentDensityMapLayered) { ss << "VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE::fragmentDensityMapLayered is not supported\n"; } @@ -1394,8 +1405,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->fragmentDensityMapOffset && !supported.fragmentDensityMapOffset) { ss << "VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT::fragmentDensityMapOffset is not supported\n"; } @@ -1405,8 +1416,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->fragmentShaderBarycentric && !supported.fragmentShaderBarycentric) { ss << "VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR::fragmentShaderBarycentric is not supported\n"; } @@ -1416,8 +1427,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->fragmentShaderSampleInterlock && !supported.fragmentShaderSampleInterlock) { ss << "VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT::fragmentShaderSampleInterlock is not supported\n"; } @@ -1434,8 +1445,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->fragmentShadingRateEnums && !supported.fragmentShadingRateEnums) { ss << "VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV::fragmentShadingRateEnums is not supported\n"; } @@ -1451,8 +1462,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFragmentShadingRateFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFragmentShadingRateFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFragmentShadingRateFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->pipelineFragmentShadingRate && !supported.pipelineFragmentShadingRate) { ss << "VkPhysicalDeviceFragmentShadingRateFeaturesKHR::pipelineFragmentShadingRate is not supported\n"; } @@ -1468,8 +1479,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceFrameBoundaryFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceFrameBoundaryFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceFrameBoundaryFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->frameBoundary && !supported.frameBoundary) { ss << "VkPhysicalDeviceFrameBoundaryFeaturesEXT::frameBoundary is not supported\n"; } @@ -1479,8 +1490,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceGlobalPriorityQueryFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceGlobalPriorityQueryFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceGlobalPriorityQueryFeatures* enabling = + reinterpret_cast(current); if (enabling->globalPriorityQuery && !supported.globalPriorityQuery) { ss << "VkPhysicalDeviceGlobalPriorityQueryFeatures::globalPriorityQuery is not supported\n"; } @@ -1490,8 +1501,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->graphicsPipelineLibrary && !supported.graphicsPipelineLibrary) { ss << "VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT::graphicsPipelineLibrary is not supported\n"; } @@ -1501,8 +1512,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceHdrVividFeaturesHUAWEI supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceHdrVividFeaturesHUAWEI *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceHdrVividFeaturesHUAWEI* enabling = + reinterpret_cast(current); if (enabling->hdrVivid && !supported.hdrVivid) { ss << "VkPhysicalDeviceHdrVividFeaturesHUAWEI::hdrVivid is not supported\n"; } @@ -1512,8 +1523,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceHostImageCopyFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceHostImageCopyFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceHostImageCopyFeatures* enabling = + reinterpret_cast(current); if (enabling->hostImageCopy && !supported.hostImageCopy) { ss << "VkPhysicalDeviceHostImageCopyFeatures::hostImageCopy is not supported\n"; } @@ -1523,8 +1534,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceHostQueryResetFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceHostQueryResetFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceHostQueryResetFeatures* enabling = + reinterpret_cast(current); if (enabling->hostQueryReset && !supported.hostQueryReset) { ss << "VkPhysicalDeviceHostQueryResetFeatures::hostQueryReset is not supported\n"; } @@ -1534,8 +1545,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImage2DViewOf3DFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImage2DViewOf3DFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImage2DViewOf3DFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->image2DViewOf3D && !supported.image2DViewOf3D) { ss << "VkPhysicalDeviceImage2DViewOf3DFeaturesEXT::image2DViewOf3D is not supported\n"; } @@ -1548,8 +1559,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImageAlignmentControlFeaturesMESA supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImageAlignmentControlFeaturesMESA *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImageAlignmentControlFeaturesMESA* enabling = + reinterpret_cast(current); if (enabling->imageAlignmentControl && !supported.imageAlignmentControl) { ss << "VkPhysicalDeviceImageAlignmentControlFeaturesMESA::imageAlignmentControl is not supported\n"; } @@ -1559,8 +1570,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImageCompressionControlFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImageCompressionControlFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImageCompressionControlFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->imageCompressionControl && !supported.imageCompressionControl) { ss << "VkPhysicalDeviceImageCompressionControlFeaturesEXT::imageCompressionControl is not supported\n"; } @@ -1570,8 +1581,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->imageCompressionControlSwapchain && !supported.imageCompressionControlSwapchain) { ss << "VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT::imageCompressionControlSwapchain is not " "supported\n"; @@ -1582,8 +1593,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImageProcessing2FeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImageProcessing2FeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImageProcessing2FeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->textureBlockMatch2 && !supported.textureBlockMatch2) { ss << "VkPhysicalDeviceImageProcessing2FeaturesQCOM::textureBlockMatch2 is not supported\n"; } @@ -1593,8 +1604,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImageProcessingFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImageProcessingFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImageProcessingFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->textureSampleWeighted && !supported.textureSampleWeighted) { ss << "VkPhysicalDeviceImageProcessingFeaturesQCOM::textureSampleWeighted is not supported\n"; } @@ -1610,8 +1621,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImageRobustnessFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImageRobustnessFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImageRobustnessFeatures* enabling = + reinterpret_cast(current); if (enabling->robustImageAccess && !supported.robustImageAccess) { ss << "VkPhysicalDeviceImageRobustnessFeatures::robustImageAccess is not supported\n"; } @@ -1621,8 +1632,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->imageSlicedViewOf3D && !supported.imageSlicedViewOf3D) { ss << "VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT::imageSlicedViewOf3D is not supported\n"; } @@ -1632,8 +1643,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImageViewMinLodFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImageViewMinLodFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImageViewMinLodFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->minLod && !supported.minLod) { ss << "VkPhysicalDeviceImageViewMinLodFeaturesEXT::minLod is not supported\n"; } @@ -1643,8 +1654,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceImagelessFramebufferFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceImagelessFramebufferFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceImagelessFramebufferFeatures* enabling = + reinterpret_cast(current); if (enabling->imagelessFramebuffer && !supported.imagelessFramebuffer) { ss << "VkPhysicalDeviceImagelessFramebufferFeatures::imagelessFramebuffer is not supported\n"; } @@ -1654,8 +1665,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceIndexTypeUint8Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceIndexTypeUint8Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceIndexTypeUint8Features* enabling = + reinterpret_cast(current); if (enabling->indexTypeUint8 && !supported.indexTypeUint8) { ss << "VkPhysicalDeviceIndexTypeUint8Features::indexTypeUint8 is not supported\n"; } @@ -1665,8 +1676,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceInheritedViewportScissorFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceInheritedViewportScissorFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceInheritedViewportScissorFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->inheritedViewportScissor2D && !supported.inheritedViewportScissor2D) { ss << "VkPhysicalDeviceInheritedViewportScissorFeaturesNV::inheritedViewportScissor2D is not supported\n"; } @@ -1676,8 +1687,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceInlineUniformBlockFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceInlineUniformBlockFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceInlineUniformBlockFeatures* enabling = + reinterpret_cast(current); if (enabling->inlineUniformBlock && !supported.inlineUniformBlock) { ss << "VkPhysicalDeviceInlineUniformBlockFeatures::inlineUniformBlock is not supported\n"; } @@ -1692,8 +1703,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->internallySynchronizedQueues && !supported.internallySynchronizedQueues) { ss << "VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR::internallySynchronizedQueues is not " "supported\n"; @@ -1704,8 +1715,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceInvocationMaskFeaturesHUAWEI supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceInvocationMaskFeaturesHUAWEI *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceInvocationMaskFeaturesHUAWEI* enabling = + reinterpret_cast(current); if (enabling->invocationMask && !supported.invocationMask) { ss << "VkPhysicalDeviceInvocationMaskFeaturesHUAWEI::invocationMask is not supported\n"; } @@ -1715,8 +1726,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceLegacyDitheringFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceLegacyDitheringFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceLegacyDitheringFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->legacyDithering && !supported.legacyDithering) { ss << "VkPhysicalDeviceLegacyDitheringFeaturesEXT::legacyDithering is not supported\n"; } @@ -1726,8 +1737,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->legacyVertexAttributes && !supported.legacyVertexAttributes) { ss << "VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT::legacyVertexAttributes is not supported\n"; } @@ -1737,8 +1748,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceLineRasterizationFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceLineRasterizationFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceLineRasterizationFeatures* enabling = + reinterpret_cast(current); if (enabling->rectangularLines && !supported.rectangularLines) { ss << "VkPhysicalDeviceLineRasterizationFeatures::rectangularLines is not supported\n"; } @@ -1763,8 +1774,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceLinearColorAttachmentFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceLinearColorAttachmentFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceLinearColorAttachmentFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->linearColorAttachment && !supported.linearColorAttachment) { ss << "VkPhysicalDeviceLinearColorAttachmentFeaturesNV::linearColorAttachment is not supported\n"; } @@ -1774,8 +1785,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMaintenance10FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMaintenance10FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMaintenance10FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->maintenance10 && !supported.maintenance10) { ss << "VkPhysicalDeviceMaintenance10FeaturesKHR::maintenance10 is not supported\n"; } @@ -1785,8 +1796,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMaintenance4Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMaintenance4Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMaintenance4Features* enabling = + reinterpret_cast(current); if (enabling->maintenance4 && !supported.maintenance4) { ss << "VkPhysicalDeviceMaintenance4Features::maintenance4 is not supported\n"; } @@ -1796,8 +1807,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMaintenance5Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMaintenance5Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMaintenance5Features* enabling = + reinterpret_cast(current); if (enabling->maintenance5 && !supported.maintenance5) { ss << "VkPhysicalDeviceMaintenance5Features::maintenance5 is not supported\n"; } @@ -1807,8 +1818,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMaintenance6Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMaintenance6Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMaintenance6Features* enabling = + reinterpret_cast(current); if (enabling->maintenance6 && !supported.maintenance6) { ss << "VkPhysicalDeviceMaintenance6Features::maintenance6 is not supported\n"; } @@ -1818,8 +1829,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMaintenance7FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMaintenance7FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMaintenance7FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->maintenance7 && !supported.maintenance7) { ss << "VkPhysicalDeviceMaintenance7FeaturesKHR::maintenance7 is not supported\n"; } @@ -1829,8 +1840,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMaintenance8FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMaintenance8FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMaintenance8FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->maintenance8 && !supported.maintenance8) { ss << "VkPhysicalDeviceMaintenance8FeaturesKHR::maintenance8 is not supported\n"; } @@ -1840,8 +1851,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMaintenance9FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMaintenance9FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMaintenance9FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->maintenance9 && !supported.maintenance9) { ss << "VkPhysicalDeviceMaintenance9FeaturesKHR::maintenance9 is not supported\n"; } @@ -1851,8 +1862,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMapMemoryPlacedFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMapMemoryPlacedFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMapMemoryPlacedFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->memoryMapPlaced && !supported.memoryMapPlaced) { ss << "VkPhysicalDeviceMapMemoryPlacedFeaturesEXT::memoryMapPlaced is not supported\n"; } @@ -1868,8 +1879,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMemoryDecompressionFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMemoryDecompressionFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMemoryDecompressionFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->memoryDecompression && !supported.memoryDecompression) { ss << "VkPhysicalDeviceMemoryDecompressionFeaturesEXT::memoryDecompression is not supported\n"; } @@ -1879,8 +1890,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMemoryPriorityFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMemoryPriorityFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMemoryPriorityFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->memoryPriority && !supported.memoryPriority) { ss << "VkPhysicalDeviceMemoryPriorityFeaturesEXT::memoryPriority is not supported\n"; } @@ -1890,8 +1901,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMeshShaderFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMeshShaderFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMeshShaderFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->taskShader && !supported.taskShader) { ss << "VkPhysicalDeviceMeshShaderFeaturesEXT::taskShader is not supported\n"; } @@ -1913,8 +1924,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMeshShaderFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMeshShaderFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMeshShaderFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->taskShader && !supported.taskShader) { ss << "VkPhysicalDeviceMeshShaderFeaturesNV::taskShader is not supported\n"; } @@ -1927,8 +1938,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMultiDrawFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMultiDrawFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMultiDrawFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->multiDraw && !supported.multiDraw) { ss << "VkPhysicalDeviceMultiDrawFeaturesEXT::multiDraw is not supported\n"; } @@ -1938,8 +1949,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->multisampledRenderToSingleSampled && !supported.multisampledRenderToSingleSampled) { ss << "VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT::multisampledRenderToSingleSampled is not " "supported\n"; @@ -1950,8 +1961,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMultiviewFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMultiviewFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMultiviewFeatures* enabling = + reinterpret_cast(current); if (enabling->multiview && !supported.multiview) { ss << "VkPhysicalDeviceMultiviewFeatures::multiview is not supported\n"; } @@ -1967,8 +1978,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->multiviewPerViewRenderAreas && !supported.multiviewPerViewRenderAreas) { ss << "VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM::multiviewPerViewRenderAreas is not supported\n"; } @@ -1978,8 +1989,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->multiviewPerViewViewports && !supported.multiviewPerViewViewports) { ss << "VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM::multiviewPerViewViewports is not supported\n"; } @@ -1989,8 +2000,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->mutableDescriptorType && !supported.mutableDescriptorType) { ss << "VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT::mutableDescriptorType is not supported\n"; } @@ -2000,8 +2011,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceNestedCommandBufferFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceNestedCommandBufferFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceNestedCommandBufferFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->nestedCommandBuffer && !supported.nestedCommandBuffer) { ss << "VkPhysicalDeviceNestedCommandBufferFeaturesEXT::nestedCommandBuffer is not supported\n"; } @@ -2017,8 +2028,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->nonSeamlessCubeMap && !supported.nonSeamlessCubeMap) { ss << "VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT::nonSeamlessCubeMap is not supported\n"; } @@ -2028,8 +2039,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceOpacityMicromapFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceOpacityMicromapFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceOpacityMicromapFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->micromap && !supported.micromap) { ss << "VkPhysicalDeviceOpacityMicromapFeaturesEXT::micromap is not supported\n"; } @@ -2045,8 +2056,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceOpticalFlowFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceOpticalFlowFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceOpticalFlowFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->opticalFlow && !supported.opticalFlow) { ss << "VkPhysicalDeviceOpticalFlowFeaturesNV::opticalFlow is not supported\n"; } @@ -2056,8 +2067,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->pageableDeviceLocalMemory && !supported.pageableDeviceLocalMemory) { ss << "VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT::pageableDeviceLocalMemory is not supported\n"; } @@ -2067,8 +2078,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->partitionedAccelerationStructure && !supported.partitionedAccelerationStructure) { ss << "VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV::partitionedAccelerationStructure is not " "supported\n"; @@ -2079,8 +2090,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePerStageDescriptorSetFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePerStageDescriptorSetFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePerStageDescriptorSetFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->perStageDescriptorSet && !supported.perStageDescriptorSet) { ss << "VkPhysicalDevicePerStageDescriptorSetFeaturesNV::perStageDescriptorSet is not supported\n"; } @@ -2093,8 +2104,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePerformanceCountersByRegionFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePerformanceCountersByRegionFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePerformanceCountersByRegionFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->performanceCountersByRegion && !supported.performanceCountersByRegion) { ss << "VkPhysicalDevicePerformanceCountersByRegionFeaturesARM::performanceCountersByRegion is not supported\n"; } @@ -2104,8 +2115,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePerformanceQueryFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePerformanceQueryFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePerformanceQueryFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->performanceCounterQueryPools && !supported.performanceCounterQueryPools) { ss << "VkPhysicalDevicePerformanceQueryFeaturesKHR::performanceCounterQueryPools is not supported\n"; } @@ -2118,8 +2129,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelineBinaryFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelineBinaryFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelineBinaryFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->pipelineBinaries && !supported.pipelineBinaries) { ss << "VkPhysicalDevicePipelineBinaryFeaturesKHR::pipelineBinaries is not supported\n"; } @@ -2129,8 +2140,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC* enabling = + reinterpret_cast(current); if (enabling->pipelineCacheIncrementalMode && !supported.pipelineCacheIncrementalMode) { ss << "VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC::pipelineCacheIncrementalMode is not " "supported\n"; @@ -2141,8 +2152,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelineCreationCacheControlFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelineCreationCacheControlFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelineCreationCacheControlFeatures* enabling = + reinterpret_cast(current); if (enabling->pipelineCreationCacheControl && !supported.pipelineCreationCacheControl) { ss << "VkPhysicalDevicePipelineCreationCacheControlFeatures::pipelineCreationCacheControl is not supported\n"; } @@ -2152,8 +2163,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->pipelineExecutableInfo && !supported.pipelineExecutableInfo) { ss << "VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR::pipelineExecutableInfo is not supported\n"; } @@ -2163,8 +2174,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->pipelineLibraryGroupHandles && !supported.pipelineLibraryGroupHandles) { ss << "VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT::pipelineLibraryGroupHandles is not supported\n"; } @@ -2174,8 +2185,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelineOpacityMicromapFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelineOpacityMicromapFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelineOpacityMicromapFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->pipelineOpacityMicromap && !supported.pipelineOpacityMicromap) { ss << "VkPhysicalDevicePipelineOpacityMicromapFeaturesARM::pipelineOpacityMicromap is not supported\n"; } @@ -2185,8 +2196,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelinePropertiesFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelinePropertiesFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelinePropertiesFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->pipelinePropertiesIdentifier && !supported.pipelinePropertiesIdentifier) { ss << "VkPhysicalDevicePipelinePropertiesFeaturesEXT::pipelinePropertiesIdentifier is not supported\n"; } @@ -2196,8 +2207,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelineProtectedAccessFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelineProtectedAccessFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelineProtectedAccessFeatures* enabling = + reinterpret_cast(current); if (enabling->pipelineProtectedAccess && !supported.pipelineProtectedAccess) { ss << "VkPhysicalDevicePipelineProtectedAccessFeatures::pipelineProtectedAccess is not supported\n"; } @@ -2207,8 +2218,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePipelineRobustnessFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePipelineRobustnessFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePipelineRobustnessFeatures* enabling = + reinterpret_cast(current); if (enabling->pipelineRobustness && !supported.pipelineRobustness) { ss << "VkPhysicalDevicePipelineRobustnessFeatures::pipelineRobustness is not supported\n"; } @@ -2219,8 +2230,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePortabilitySubsetFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePortabilitySubsetFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePortabilitySubsetFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->constantAlphaColorBlendFactors && !supported.constantAlphaColorBlendFactors) { ss << "VkPhysicalDevicePortabilitySubsetFeaturesKHR::constantAlphaColorBlendFactors is not supported\n"; } @@ -2273,8 +2284,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePresentBarrierFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePresentBarrierFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePresentBarrierFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->presentBarrier && !supported.presentBarrier) { ss << "VkPhysicalDevicePresentBarrierFeaturesNV::presentBarrier is not supported\n"; } @@ -2284,8 +2295,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePresentId2FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePresentId2FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePresentId2FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->presentId2 && !supported.presentId2) { ss << "VkPhysicalDevicePresentId2FeaturesKHR::presentId2 is not supported\n"; } @@ -2295,8 +2306,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePresentIdFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePresentIdFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePresentIdFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->presentId && !supported.presentId) { ss << "VkPhysicalDevicePresentIdFeaturesKHR::presentId is not supported\n"; } @@ -2307,8 +2318,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePresentMeteringFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePresentMeteringFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePresentMeteringFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->presentMetering && !supported.presentMetering) { ss << "VkPhysicalDevicePresentMeteringFeaturesNV::presentMetering is not supported\n"; } @@ -2319,8 +2330,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->presentModeFifoLatestReady && !supported.presentModeFifoLatestReady) { ss << "VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR::presentModeFifoLatestReady is not supported\n"; } @@ -2330,8 +2341,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePresentTimingFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePresentTimingFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePresentTimingFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->presentTiming && !supported.presentTiming) { ss << "VkPhysicalDevicePresentTimingFeaturesEXT::presentTiming is not supported\n"; } @@ -2347,8 +2358,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePresentWait2FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePresentWait2FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePresentWait2FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->presentWait2 && !supported.presentWait2) { ss << "VkPhysicalDevicePresentWait2FeaturesKHR::presentWait2 is not supported\n"; } @@ -2358,8 +2369,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePresentWaitFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePresentWaitFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePresentWaitFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->presentWait && !supported.presentWait) { ss << "VkPhysicalDevicePresentWaitFeaturesKHR::presentWait is not supported\n"; } @@ -2369,8 +2380,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->primitiveTopologyListRestart && !supported.primitiveTopologyListRestart) { ss << "VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT::primitiveTopologyListRestart is not " "supported\n"; @@ -2385,8 +2396,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->primitivesGeneratedQuery && !supported.primitivesGeneratedQuery) { ss << "VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT::primitivesGeneratedQuery is not supported\n"; } @@ -2405,8 +2416,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePrivateDataFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePrivateDataFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePrivateDataFeatures* enabling = + reinterpret_cast(current); if (enabling->privateData && !supported.privateData) { ss << "VkPhysicalDevicePrivateDataFeatures::privateData is not supported\n"; } @@ -2416,8 +2427,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceProtectedMemoryFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceProtectedMemoryFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceProtectedMemoryFeatures* enabling = + reinterpret_cast(current); if (enabling->protectedMemory && !supported.protectedMemory) { ss << "VkPhysicalDeviceProtectedMemoryFeatures::protectedMemory is not supported\n"; } @@ -2427,8 +2438,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceProvokingVertexFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceProvokingVertexFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceProvokingVertexFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->provokingVertexLast && !supported.provokingVertexLast) { ss << "VkPhysicalDeviceProvokingVertexFeaturesEXT::provokingVertexLast is not supported\n"; } @@ -2442,8 +2453,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDevicePushConstantBankFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDevicePushConstantBankFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDevicePushConstantBankFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->pushConstantBank && !supported.pushConstantBank) { ss << "VkPhysicalDevicePushConstantBankFeaturesNV::pushConstantBank is not supported\n"; } @@ -2453,8 +2464,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->formatRgba10x6WithoutYCbCrSampler && !supported.formatRgba10x6WithoutYCbCrSampler) { ss << "VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT::formatRgba10x6WithoutYCbCrSampler is not supported\n"; } @@ -2464,8 +2475,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->rasterizationOrderColorAttachmentAccess && !supported.rasterizationOrderColorAttachmentAccess) { ss << "VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT::rasterizationOrderColorAttachmentAccess " "is not supported\n"; @@ -2484,8 +2495,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRawAccessChainsFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRawAccessChainsFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRawAccessChainsFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->shaderRawAccessChains && !supported.shaderRawAccessChains) { ss << "VkPhysicalDeviceRawAccessChainsFeaturesNV::shaderRawAccessChains is not supported\n"; } @@ -2495,8 +2506,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayQueryFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayQueryFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayQueryFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->rayQuery && !supported.rayQuery) { ss << "VkPhysicalDeviceRayQueryFeaturesKHR::rayQuery is not supported\n"; } @@ -2506,8 +2517,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->rayTracingInvocationReorder && !supported.rayTracingInvocationReorder) { ss << "VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT::rayTracingInvocationReorder is not supported\n"; } @@ -2517,8 +2528,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->rayTracingInvocationReorder && !supported.rayTracingInvocationReorder) { ss << "VkPhysicalDeviceRayTracingInvocationReorderFeaturesNV::rayTracingInvocationReorder is not supported\n"; } @@ -2528,8 +2539,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->spheres && !supported.spheres) { ss << "VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV::spheres is not supported\n"; } @@ -2542,8 +2553,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->rayTracingMaintenance1 && !supported.rayTracingMaintenance1) { ss << "VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR::rayTracingMaintenance1 is not supported\n"; } @@ -2557,8 +2568,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayTracingMotionBlurFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayTracingMotionBlurFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayTracingMotionBlurFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->rayTracingMotionBlur && !supported.rayTracingMotionBlur) { ss << "VkPhysicalDeviceRayTracingMotionBlurFeaturesNV::rayTracingMotionBlur is not supported\n"; } @@ -2573,8 +2584,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayTracingPipelineFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayTracingPipelineFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayTracingPipelineFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->rayTracingPipeline && !supported.rayTracingPipeline) { ss << "VkPhysicalDeviceRayTracingPipelineFeaturesKHR::rayTracingPipeline is not supported\n"; } @@ -2600,8 +2611,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->rayTracingPositionFetch && !supported.rayTracingPositionFetch) { ss << "VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR::rayTracingPositionFetch is not supported\n"; } @@ -2611,8 +2622,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRayTracingValidationFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRayTracingValidationFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRayTracingValidationFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->rayTracingValidation && !supported.rayTracingValidation) { ss << "VkPhysicalDeviceRayTracingValidationFeaturesNV::rayTracingValidation is not supported\n"; } @@ -2622,8 +2633,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG* enabling = + reinterpret_cast(current); if (enabling->relaxedLineRasterization && !supported.relaxedLineRasterization) { ss << "VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG::relaxedLineRasterization is not supported\n"; } @@ -2633,8 +2644,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRenderPassStripedFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRenderPassStripedFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRenderPassStripedFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->renderPassStriped && !supported.renderPassStriped) { ss << "VkPhysicalDeviceRenderPassStripedFeaturesARM::renderPassStriped is not supported\n"; } @@ -2644,8 +2655,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->representativeFragmentTest && !supported.representativeFragmentTest) { ss << "VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV::representativeFragmentTest is not supported\n"; } @@ -2655,8 +2666,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceRobustness2FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceRobustness2FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceRobustness2FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->robustBufferAccess2 && !supported.robustBufferAccess2) { ss << "VkPhysicalDeviceRobustness2FeaturesKHR::robustBufferAccess2 is not supported\n"; } @@ -2672,8 +2683,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceSamplerYcbcrConversionFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceSamplerYcbcrConversionFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceSamplerYcbcrConversionFeatures* enabling = + reinterpret_cast(current); if (enabling->samplerYcbcrConversion && !supported.samplerYcbcrConversion) { ss << "VkPhysicalDeviceSamplerYcbcrConversionFeatures::samplerYcbcrConversion is not supported\n"; } @@ -2683,8 +2694,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceScalarBlockLayoutFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceScalarBlockLayoutFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceScalarBlockLayoutFeatures* enabling = + reinterpret_cast(current); if (enabling->scalarBlockLayout && !supported.scalarBlockLayout) { ss << "VkPhysicalDeviceScalarBlockLayoutFeatures::scalarBlockLayout is not supported\n"; } @@ -2694,8 +2705,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceSchedulingControlsFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceSchedulingControlsFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceSchedulingControlsFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->schedulingControls && !supported.schedulingControls) { ss << "VkPhysicalDeviceSchedulingControlsFeaturesARM::schedulingControls is not supported\n"; } @@ -2705,8 +2716,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures* enabling = + reinterpret_cast(current); if (enabling->separateDepthStencilLayouts && !supported.separateDepthStencilLayouts) { ss << "VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures::separateDepthStencilLayouts is not supported\n"; } @@ -2716,8 +2727,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShader64BitIndexingFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShader64BitIndexingFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShader64BitIndexingFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shader64BitIndexing && !supported.shader64BitIndexing) { ss << "VkPhysicalDeviceShader64BitIndexingFeaturesEXT::shader64BitIndexing is not supported\n"; } @@ -2727,8 +2738,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->shaderFloat16VectorAtomics && !supported.shaderFloat16VectorAtomics) { ss << "VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV::shaderFloat16VectorAtomics is not supported\n"; } @@ -2738,8 +2749,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderBufferFloat16Atomics && !supported.shaderBufferFloat16Atomics) { ss << "VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT::shaderBufferFloat16Atomics is not supported\n"; } @@ -2782,8 +2793,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderAtomicFloatFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderAtomicFloatFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderAtomicFloatFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderBufferFloat32Atomics && !supported.shaderBufferFloat32Atomics) { ss << "VkPhysicalDeviceShaderAtomicFloatFeaturesEXT::shaderBufferFloat32Atomics is not supported\n"; } @@ -2826,8 +2837,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderAtomicInt64Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderAtomicInt64Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderAtomicInt64Features* enabling = + reinterpret_cast(current); if (enabling->shaderBufferInt64Atomics && !supported.shaderBufferInt64Atomics) { ss << "VkPhysicalDeviceShaderAtomicInt64Features::shaderBufferInt64Atomics is not supported\n"; } @@ -2840,8 +2851,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderBfloat16FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderBfloat16FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderBfloat16FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->shaderBFloat16Type && !supported.shaderBFloat16Type) { ss << "VkPhysicalDeviceShaderBfloat16FeaturesKHR::shaderBFloat16Type is not supported\n"; } @@ -2857,8 +2868,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderClockFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderClockFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderClockFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->shaderSubgroupClock && !supported.shaderSubgroupClock) { ss << "VkPhysicalDeviceShaderClockFeaturesKHR::shaderSubgroupClock is not supported\n"; } @@ -2871,8 +2882,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->shaderCoreBuiltins && !supported.shaderCoreBuiltins) { ss << "VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM::shaderCoreBuiltins is not supported\n"; } @@ -2882,8 +2893,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderDemoteToHelperInvocation && !supported.shaderDemoteToHelperInvocation) { ss << "VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures::shaderDemoteToHelperInvocation is not " "supported\n"; @@ -2894,8 +2905,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderDrawParametersFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderDrawParametersFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderDrawParametersFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderDrawParameters && !supported.shaderDrawParameters) { ss << "VkPhysicalDeviceShaderDrawParametersFeatures::shaderDrawParameters is not supported\n"; } @@ -2905,8 +2916,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD* enabling = + reinterpret_cast(current); if (enabling->shaderEarlyAndLateFragmentTests && !supported.shaderEarlyAndLateFragmentTests) { ss << "VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD::shaderEarlyAndLateFragmentTests is not " "supported\n"; @@ -2918,8 +2929,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderEnqueueFeaturesAMDX supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderEnqueueFeaturesAMDX *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderEnqueueFeaturesAMDX* enabling = + reinterpret_cast(current); if (enabling->shaderEnqueue && !supported.shaderEnqueue) { ss << "VkPhysicalDeviceShaderEnqueueFeaturesAMDX::shaderEnqueue is not supported\n"; } @@ -2933,8 +2944,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderExpectAssumeFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderExpectAssumeFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderExpectAssumeFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderExpectAssume && !supported.shaderExpectAssume) { ss << "VkPhysicalDeviceShaderExpectAssumeFeatures::shaderExpectAssume is not supported\n"; } @@ -2944,8 +2955,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderFloat16Int8Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderFloat16Int8Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderFloat16Int8Features* enabling = + reinterpret_cast(current); if (enabling->shaderFloat16 && !supported.shaderFloat16) { ss << "VkPhysicalDeviceShaderFloat16Int8Features::shaderFloat16 is not supported\n"; } @@ -2958,8 +2969,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderFloat8FeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderFloat8FeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderFloat8FeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderFloat8 && !supported.shaderFloat8) { ss << "VkPhysicalDeviceShaderFloat8FeaturesEXT::shaderFloat8 is not supported\n"; } @@ -2972,8 +2983,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderFloatControls2Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderFloatControls2Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderFloatControls2Features* enabling = + reinterpret_cast(current); if (enabling->shaderFloatControls2 && !supported.shaderFloatControls2) { ss << "VkPhysicalDeviceShaderFloatControls2Features::shaderFloatControls2 is not supported\n"; } @@ -2983,8 +2994,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderFmaFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderFmaFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderFmaFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->shaderFmaFloat16 && !supported.shaderFmaFloat16) { ss << "VkPhysicalDeviceShaderFmaFeaturesKHR::shaderFmaFloat16 is not supported\n"; } @@ -3000,8 +3011,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderImageInt64Atomics && !supported.shaderImageInt64Atomics) { ss << "VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT::shaderImageInt64Atomics is not supported\n"; } @@ -3014,8 +3025,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderImageFootprintFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderImageFootprintFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderImageFootprintFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->imageFootprint && !supported.imageFootprint) { ss << "VkPhysicalDeviceShaderImageFootprintFeaturesNV::imageFootprint is not supported\n"; } @@ -3025,8 +3036,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderIntegerDotProductFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderIntegerDotProductFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderIntegerDotProductFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderIntegerDotProduct && !supported.shaderIntegerDotProduct) { ss << "VkPhysicalDeviceShaderIntegerDotProductFeatures::shaderIntegerDotProduct is not supported\n"; } @@ -3036,8 +3047,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL* enabling = + reinterpret_cast(current); if (enabling->shaderIntegerFunctions2 && !supported.shaderIntegerFunctions2) { ss << "VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL::shaderIntegerFunctions2 is not supported\n"; } @@ -3047,8 +3058,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderLongVectorFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderLongVectorFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderLongVectorFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->longVector && !supported.longVector) { ss << "VkPhysicalDeviceShaderLongVectorFeaturesEXT::longVector is not supported\n"; } @@ -3058,8 +3069,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->shaderMaximalReconvergence && !supported.shaderMaximalReconvergence) { ss << "VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR::shaderMaximalReconvergence is not supported\n"; } @@ -3069,8 +3080,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE* enabling = + reinterpret_cast(current); if (enabling->shaderMixedFloatDotProductFloat16AccFloat32 && !supported.shaderMixedFloatDotProductFloat16AccFloat32) { ss << "VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE::shaderMixedFloatDotProductFloat16AccFloat32 is " @@ -3095,8 +3106,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderModuleIdentifier && !supported.shaderModuleIdentifier) { ss << "VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT::shaderModuleIdentifier is not supported\n"; } @@ -3106,8 +3117,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderObjectFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderObjectFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderObjectFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderObject && !supported.shaderObject) { ss << "VkPhysicalDeviceShaderObjectFeaturesEXT::shaderObject is not supported\n"; } @@ -3117,8 +3128,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderQuadControlFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderQuadControlFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderQuadControlFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->shaderQuadControl && !supported.shaderQuadControl) { ss << "VkPhysicalDeviceShaderQuadControlFeaturesKHR::shaderQuadControl is not supported\n"; } @@ -3128,8 +3139,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->shaderRelaxedExtendedInstruction && !supported.shaderRelaxedExtendedInstruction) { ss << "VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR::shaderRelaxedExtendedInstruction is not " "supported\n"; @@ -3140,8 +3151,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderReplicatedComposites && !supported.shaderReplicatedComposites) { ss << "VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT::shaderReplicatedComposites is not supported\n"; } @@ -3151,8 +3162,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderSMBuiltinsFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderSMBuiltinsFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->shaderSMBuiltins && !supported.shaderSMBuiltins) { ss << "VkPhysicalDeviceShaderSMBuiltinsFeaturesNV::shaderSMBuiltins is not supported\n"; } @@ -3162,8 +3173,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderSubgroupExtendedTypes && !supported.shaderSubgroupExtendedTypes) { ss << "VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures::shaderSubgroupExtendedTypes is not supported\n"; } @@ -3173,8 +3184,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderSubgroupPartitioned && !supported.shaderSubgroupPartitioned) { ss << "VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT::shaderSubgroupPartitioned is not supported\n"; } @@ -3184,8 +3195,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderSubgroupRotateFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderSubgroupRotateFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderSubgroupRotateFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderSubgroupRotate && !supported.shaderSubgroupRotate) { ss << "VkPhysicalDeviceShaderSubgroupRotateFeatures::shaderSubgroupRotate is not supported\n"; } @@ -3198,8 +3209,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->shaderSubgroupUniformControlFlow && !supported.shaderSubgroupUniformControlFlow) { ss << "VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR::shaderSubgroupUniformControlFlow is not " "supported\n"; @@ -3210,8 +3221,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderTerminateInvocationFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderTerminateInvocationFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderTerminateInvocationFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderTerminateInvocation && !supported.shaderTerminateInvocation) { ss << "VkPhysicalDeviceShaderTerminateInvocationFeatures::shaderTerminateInvocation is not supported\n"; } @@ -3221,8 +3232,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderTileImageFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderTileImageFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderTileImageFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderTileImageColorReadAccess && !supported.shaderTileImageColorReadAccess) { ss << "VkPhysicalDeviceShaderTileImageFeaturesEXT::shaderTileImageColorReadAccess is not supported\n"; } @@ -3238,8 +3249,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->shaderUniformBufferUnsizedArray && !supported.shaderUniformBufferUnsizedArray) { ss << "VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT::shaderUniformBufferUnsizedArray is not " "supported\n"; @@ -3250,8 +3261,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShaderUntypedPointersFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShaderUntypedPointersFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShaderUntypedPointersFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->shaderUntypedPointers && !supported.shaderUntypedPointers) { ss << "VkPhysicalDeviceShaderUntypedPointersFeaturesKHR::shaderUntypedPointers is not supported\n"; } @@ -3261,8 +3272,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceShadingRateImageFeaturesNV supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceShadingRateImageFeaturesNV *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceShadingRateImageFeaturesNV* enabling = + reinterpret_cast(current); if (enabling->shadingRateImage && !supported.shadingRateImage) { ss << "VkPhysicalDeviceShadingRateImageFeaturesNV::shadingRateImage is not supported\n"; } @@ -3275,8 +3286,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceSubgroupSizeControlFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceSubgroupSizeControlFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceSubgroupSizeControlFeatures* enabling = + reinterpret_cast(current); if (enabling->subgroupSizeControl && !supported.subgroupSizeControl) { ss << "VkPhysicalDeviceSubgroupSizeControlFeatures::subgroupSizeControl is not supported\n"; } @@ -3289,8 +3300,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->subpassMergeFeedback && !supported.subpassMergeFeedback) { ss << "VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT::subpassMergeFeedback is not supported\n"; } @@ -3300,8 +3311,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceSubpassShadingFeaturesHUAWEI supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceSubpassShadingFeaturesHUAWEI *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceSubpassShadingFeaturesHUAWEI* enabling = + reinterpret_cast(current); if (enabling->subpassShading && !supported.subpassShading) { ss << "VkPhysicalDeviceSubpassShadingFeaturesHUAWEI::subpassShading is not supported\n"; } @@ -3311,8 +3322,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->swapchainMaintenance1 && !supported.swapchainMaintenance1) { ss << "VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR::swapchainMaintenance1 is not supported\n"; } @@ -3322,8 +3333,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceSynchronization2Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceSynchronization2Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceSynchronization2Features* enabling = + reinterpret_cast(current); if (enabling->synchronization2 && !supported.synchronization2) { ss << "VkPhysicalDeviceSynchronization2Features::synchronization2 is not supported\n"; } @@ -3333,8 +3344,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTensorFeaturesARM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTensorFeaturesARM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTensorFeaturesARM* enabling = + reinterpret_cast(current); if (enabling->tensorNonPacked && !supported.tensorNonPacked) { ss << "VkPhysicalDeviceTensorFeaturesARM::tensorNonPacked is not supported\n"; } @@ -3360,8 +3371,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->texelBufferAlignment && !supported.texelBufferAlignment) { ss << "VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT::texelBufferAlignment is not supported\n"; } @@ -3371,8 +3382,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->textureCompressionASTC_3D && !supported.textureCompressionASTC_3D) { ss << "VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT::textureCompressionASTC_3D is not supported\n"; } @@ -3382,8 +3393,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTextureCompressionASTCHDRFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTextureCompressionASTCHDRFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTextureCompressionASTCHDRFeatures* enabling = + reinterpret_cast(current); if (enabling->textureCompressionASTC_HDR && !supported.textureCompressionASTC_HDR) { ss << "VkPhysicalDeviceTextureCompressionASTCHDRFeatures::textureCompressionASTC_HDR is not supported\n"; } @@ -3393,8 +3404,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTileMemoryHeapFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTileMemoryHeapFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTileMemoryHeapFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->tileMemoryHeap && !supported.tileMemoryHeap) { ss << "VkPhysicalDeviceTileMemoryHeapFeaturesQCOM::tileMemoryHeap is not supported\n"; } @@ -3404,8 +3415,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTilePropertiesFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTilePropertiesFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTilePropertiesFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->tileProperties && !supported.tileProperties) { ss << "VkPhysicalDeviceTilePropertiesFeaturesQCOM::tileProperties is not supported\n"; } @@ -3415,8 +3426,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTileShadingFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTileShadingFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTileShadingFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->tileShading && !supported.tileShading) { ss << "VkPhysicalDeviceTileShadingFeaturesQCOM::tileShading is not supported\n"; } @@ -3465,8 +3476,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTimelineSemaphoreFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTimelineSemaphoreFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTimelineSemaphoreFeatures* enabling = + reinterpret_cast(current); if (enabling->timelineSemaphore && !supported.timelineSemaphore) { ss << "VkPhysicalDeviceTimelineSemaphoreFeatures::timelineSemaphore is not supported\n"; } @@ -3476,8 +3487,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceTransformFeedbackFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceTransformFeedbackFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceTransformFeedbackFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->transformFeedback && !supported.transformFeedback) { ss << "VkPhysicalDeviceTransformFeedbackFeaturesEXT::transformFeedback is not supported\n"; } @@ -3490,8 +3501,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->unifiedImageLayouts && !supported.unifiedImageLayouts) { ss << "VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR::unifiedImageLayouts is not supported\n"; } @@ -3504,8 +3515,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceUniformBufferStandardLayoutFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceUniformBufferStandardLayoutFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceUniformBufferStandardLayoutFeatures* enabling = + reinterpret_cast(current); if (enabling->uniformBufferStandardLayout && !supported.uniformBufferStandardLayout) { ss << "VkPhysicalDeviceUniformBufferStandardLayoutFeatures::uniformBufferStandardLayout is not supported\n"; } @@ -3515,8 +3526,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVariablePointersFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVariablePointersFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVariablePointersFeatures* enabling = + reinterpret_cast(current); if (enabling->variablePointersStorageBuffer && !supported.variablePointersStorageBuffer) { ss << "VkPhysicalDeviceVariablePointersFeatures::variablePointersStorageBuffer is not supported\n"; } @@ -3529,8 +3540,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVertexAttributeDivisorFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVertexAttributeDivisorFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVertexAttributeDivisorFeatures* enabling = + reinterpret_cast(current); if (enabling->vertexAttributeInstanceRateDivisor && !supported.vertexAttributeInstanceRateDivisor) { ss << "VkPhysicalDeviceVertexAttributeDivisorFeatures::vertexAttributeInstanceRateDivisor is not supported\n"; } @@ -3544,8 +3555,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->vertexAttributeRobustness && !supported.vertexAttributeRobustness) { ss << "VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT::vertexAttributeRobustness is not supported\n"; } @@ -3555,8 +3566,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->vertexInputDynamicState && !supported.vertexInputDynamicState) { ss << "VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT::vertexInputDynamicState is not supported\n"; } @@ -3566,8 +3577,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVideoDecodeVP9FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVideoDecodeVP9FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVideoDecodeVP9FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->videoDecodeVP9 && !supported.videoDecodeVP9) { ss << "VkPhysicalDeviceVideoDecodeVP9FeaturesKHR::videoDecodeVP9 is not supported\n"; } @@ -3577,8 +3588,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVideoEncodeAV1FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVideoEncodeAV1FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVideoEncodeAV1FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->videoEncodeAV1 && !supported.videoEncodeAV1) { ss << "VkPhysicalDeviceVideoEncodeAV1FeaturesKHR::videoEncodeAV1 is not supported\n"; } @@ -3588,8 +3599,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->videoEncodeIntraRefresh && !supported.videoEncodeIntraRefresh) { ss << "VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR::videoEncodeIntraRefresh is not supported\n"; } @@ -3599,8 +3610,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->videoEncodeQuantizationMap && !supported.videoEncodeQuantizationMap) { ss << "VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR::videoEncodeQuantizationMap is not supported\n"; } @@ -3610,8 +3621,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE* enabling = + reinterpret_cast(current); if (enabling->videoEncodeRgbConversion && !supported.videoEncodeRgbConversion) { ss << "VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE::videoEncodeRgbConversion is not supported\n"; } @@ -3621,8 +3632,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVideoMaintenance1FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVideoMaintenance1FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVideoMaintenance1FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->videoMaintenance1 && !supported.videoMaintenance1) { ss << "VkPhysicalDeviceVideoMaintenance1FeaturesKHR::videoMaintenance1 is not supported\n"; } @@ -3632,8 +3643,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVideoMaintenance2FeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVideoMaintenance2FeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVideoMaintenance2FeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->videoMaintenance2 && !supported.videoMaintenance2) { ss << "VkPhysicalDeviceVideoMaintenance2FeaturesKHR::videoMaintenance2 is not supported\n"; } @@ -3643,8 +3654,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVulkan11Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVulkan11Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVulkan11Features* enabling = + reinterpret_cast(current); if (enabling->storageBuffer16BitAccess && !supported.storageBuffer16BitAccess) { ss << "VkPhysicalDeviceVulkan11Features::storageBuffer16BitAccess is not supported\n"; } @@ -3687,8 +3698,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVulkan12Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVulkan12Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVulkan12Features* enabling = + reinterpret_cast(current); if (enabling->samplerMirrorClampToEdge && !supported.samplerMirrorClampToEdge) { ss << "VkPhysicalDeviceVulkan12Features::samplerMirrorClampToEdge is not supported\n"; } @@ -3848,8 +3859,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVulkan13Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVulkan13Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVulkan13Features* enabling = + reinterpret_cast(current); if (enabling->robustImageAccess && !supported.robustImageAccess) { ss << "VkPhysicalDeviceVulkan13Features::robustImageAccess is not supported\n"; } @@ -3902,8 +3913,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVulkan14Features supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVulkan14Features *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVulkan14Features* enabling = + reinterpret_cast(current); if (enabling->globalPriorityQuery && !supported.globalPriorityQuery) { ss << "VkPhysicalDeviceVulkan14Features::globalPriorityQuery is not supported\n"; } @@ -3973,8 +3984,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceVulkanMemoryModelFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceVulkanMemoryModelFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceVulkanMemoryModelFeatures* enabling = + reinterpret_cast(current); if (enabling->vulkanMemoryModel && !supported.vulkanMemoryModel) { ss << "VkPhysicalDeviceVulkanMemoryModelFeatures::vulkanMemoryModel is not supported\n"; } @@ -3992,8 +4003,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR* enabling = + reinterpret_cast(current); if (enabling->workgroupMemoryExplicitLayout && !supported.workgroupMemoryExplicitLayout) { ss << "VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR::workgroupMemoryExplicitLayout is not " "supported\n"; @@ -4017,8 +4028,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->ycbcr2plane444Formats && !supported.ycbcr2plane444Formats) { ss << "VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT::ycbcr2plane444Formats is not supported\n"; } @@ -4028,8 +4039,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceYcbcrDegammaFeaturesQCOM supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceYcbcrDegammaFeaturesQCOM *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceYcbcrDegammaFeaturesQCOM* enabling = + reinterpret_cast(current); if (enabling->ycbcrDegamma && !supported.ycbcrDegamma) { ss << "VkPhysicalDeviceYcbcrDegammaFeaturesQCOM::ycbcrDegamma is not supported\n"; } @@ -4039,8 +4050,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceYcbcrImageArraysFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceYcbcrImageArraysFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->ycbcrImageArrays && !supported.ycbcrImageArrays) { ss << "VkPhysicalDeviceYcbcrImageArraysFeaturesEXT::ycbcrImageArrays is not supported\n"; } @@ -4050,8 +4061,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT* enabling = + reinterpret_cast(current); if (enabling->zeroInitializeDeviceMemory && !supported.zeroInitializeDeviceMemory) { ss << "VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT::zeroInitializeDeviceMemory is not supported\n"; } @@ -4061,8 +4072,8 @@ void Instance::ReportErrorFeatureNotPresent(VkPhysicalDevice gpu, const VkDevice VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures supported = vku::InitStructHelper(); features_2.pNext = &supported; DispatchGetPhysicalDeviceFeatures2(gpu, &features_2); - const VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures *enabling = - reinterpret_cast(current); + const VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures* enabling = + reinterpret_cast(current); if (enabling->shaderZeroInitializeWorkgroupMemory && !supported.shaderZeroInitializeWorkgroupMemory) { ss << "VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures::shaderZeroInitializeWorkgroupMemory is not " "supported\n"; diff --git a/layers/vulkan/generated/feature_requirements_helper.cpp b/layers/vulkan/generated/feature_requirements_helper.cpp index a849b1c1c57..32109005c51 100644 --- a/layers/vulkan/generated/feature_requirements_helper.cpp +++ b/layers/vulkan/generated/feature_requirements_helper.cpp @@ -29,11 +29,11 @@ #include namespace vkt { -FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **inout_pnext_chain) { +FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void** inout_pnext_chain) { switch (feature) { case Feature::storageBuffer16BitAccess: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -46,7 +46,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->storageBuffer16BitAccess, "VkPhysicalDeviceVulkan11Features::storageBuffer16BitAccess"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice16BitStorageFeatures; @@ -61,7 +61,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::storageInputOutput16: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -74,7 +74,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->storageInputOutput16, "VkPhysicalDeviceVulkan11Features::storageInputOutput16"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice16BitStorageFeatures; @@ -89,7 +89,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::storagePushConstant16: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -102,7 +102,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->storagePushConstant16, "VkPhysicalDeviceVulkan11Features::storagePushConstant16"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice16BitStorageFeatures; @@ -117,7 +117,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::uniformAndStorageBuffer16BitAccess: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -131,7 +131,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->uniformAndStorageBuffer16BitAccess, "VkPhysicalDeviceVulkan11Features::uniformAndStorageBuffer16BitAccess"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice16BitStorageFeatures; @@ -146,7 +146,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDevice16BitStorageFeatures::uniformAndStorageBuffer16BitAccess"}; } case Feature::formatA4B4G4R4: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice4444FormatsFeaturesEXT; @@ -161,7 +161,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::formatA4R4G4B4: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice4444FormatsFeaturesEXT; @@ -177,7 +177,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::storageBuffer8BitAccess: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -190,7 +190,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->storageBuffer8BitAccess, "VkPhysicalDeviceVulkan12Features::storageBuffer8BitAccess"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice8BitStorageFeatures; @@ -205,7 +205,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::storagePushConstant8: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -218,7 +218,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->storagePushConstant8, "VkPhysicalDeviceVulkan12Features::storagePushConstant8"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice8BitStorageFeatures; @@ -233,7 +233,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::uniformAndStorageBuffer8BitAccess: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -247,7 +247,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->uniformAndStorageBuffer8BitAccess, "VkPhysicalDeviceVulkan12Features::uniformAndStorageBuffer8BitAccess"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevice8BitStorageFeatures; @@ -262,7 +262,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDevice8BitStorageFeatures::uniformAndStorageBuffer8BitAccess"}; } case Feature::decodeModeSharedExponent: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceASTCDecodeFeaturesEXT; @@ -277,7 +277,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::accelerationStructure: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAccelerationStructureFeaturesKHR; @@ -292,7 +292,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::accelerationStructureCaptureReplay: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAccelerationStructureFeaturesKHR; @@ -308,7 +308,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::accelerationStructureHostCommands: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAccelerationStructureFeaturesKHR; @@ -324,7 +324,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::accelerationStructureIndirectBuild: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAccelerationStructureFeaturesKHR; @@ -340,7 +340,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingAccelerationStructureUpdateAfterBind: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAccelerationStructureFeaturesKHR; @@ -356,7 +356,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::reportAddressBinding: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAddressBindingReportFeaturesEXT; @@ -371,7 +371,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::amigoProfiling: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAmigoProfilingFeaturesSEC; @@ -386,7 +386,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::antiLag: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAntiLagFeaturesAMD; @@ -401,7 +401,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::attachmentFeedbackLoopDynamicState: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT; @@ -417,7 +417,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::attachmentFeedbackLoopLayout: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT; @@ -433,7 +433,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::advancedBlendCoherentOperations: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT; @@ -449,7 +449,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::borderColorSwizzle: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceBorderColorSwizzleFeaturesEXT; @@ -464,7 +464,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::borderColorSwizzleFromImage: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceBorderColorSwizzleFeaturesEXT; @@ -481,7 +481,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::bufferDeviceAddress: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -494,7 +494,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->bufferDeviceAddress, "VkPhysicalDeviceVulkan12Features::bufferDeviceAddress"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceBufferDeviceAddressFeatures; @@ -509,7 +509,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::bufferDeviceAddressCaptureReplay: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -523,7 +523,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->bufferDeviceAddressCaptureReplay, "VkPhysicalDeviceVulkan12Features::bufferDeviceAddressCaptureReplay"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceBufferDeviceAddressFeatures; @@ -539,7 +539,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::bufferDeviceAddressMultiDevice: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -553,7 +553,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->bufferDeviceAddressMultiDevice, "VkPhysicalDeviceVulkan12Features::bufferDeviceAddressMultiDevice"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceBufferDeviceAddressFeatures; @@ -568,7 +568,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceBufferDeviceAddressFeatures::bufferDeviceAddressMultiDevice"}; } case Feature::clusterAccelerationStructure: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceClusterAccelerationStructureFeaturesNV; @@ -584,7 +584,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::clustercullingShader: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI; @@ -599,7 +599,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::multiviewClusterCullingShader: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI; @@ -615,7 +615,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::deviceCoherentMemory: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCoherentMemoryFeaturesAMD; @@ -630,7 +630,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::colorWriteEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceColorWriteEnableFeaturesEXT; @@ -645,7 +645,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::commandBufferInheritance: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCommandBufferInheritanceFeaturesNV; @@ -661,7 +661,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::computeOccupancyPriority: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV; @@ -677,7 +677,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::computeDerivativeGroupLinear: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR; @@ -693,7 +693,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::computeDerivativeGroupQuads: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR; @@ -709,7 +709,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::conditionalRendering: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceConditionalRenderingFeaturesEXT; @@ -724,7 +724,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::inheritedConditionalRendering: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceConditionalRenderingFeaturesEXT; @@ -740,7 +740,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixBlockLoads: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrix2FeaturesNV; @@ -756,7 +756,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixConversions: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrix2FeaturesNV; @@ -772,7 +772,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixFlexibleDimensions: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrix2FeaturesNV; @@ -788,7 +788,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixPerElementOperations: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrix2FeaturesNV; @@ -804,7 +804,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixReductions: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrix2FeaturesNV; @@ -820,7 +820,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixTensorAddressing: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrix2FeaturesNV; @@ -836,7 +836,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixWorkgroupScope: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrix2FeaturesNV; @@ -852,7 +852,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixConversion: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrixConversionFeaturesQCOM; @@ -868,7 +868,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrix: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrixFeaturesKHR; @@ -883,7 +883,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeMatrixRobustBufferAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeMatrixFeaturesKHR; @@ -899,7 +899,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeVector: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeVectorFeaturesNV; @@ -914,7 +914,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cooperativeVectorTraining: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCooperativeVectorFeaturesNV; @@ -930,7 +930,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::indirectMemoryCopy: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR; @@ -945,7 +945,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::indirectMemoryToImageCopy: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR; @@ -961,7 +961,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::indirectCopy: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCopyMemoryIndirectFeaturesNV; @@ -976,7 +976,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cornerSampledImage: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCornerSampledImageFeaturesNV; @@ -991,7 +991,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::coverageReductionMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCoverageReductionModeFeaturesNV; @@ -1006,7 +1006,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::cubicRangeClamp: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCubicClampFeaturesQCOM; @@ -1021,7 +1021,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::selectableCubicWeights: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCubicWeightsFeaturesQCOM; @@ -1037,7 +1037,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::cudaKernelLaunchFeatures: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCudaKernelLaunchFeaturesNV; @@ -1053,7 +1053,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #endif // VK_ENABLE_BETA_EXTENSIONS case Feature::customBorderColorWithoutFormat: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCustomBorderColorFeaturesEXT; @@ -1069,7 +1069,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::customBorderColors: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCustomBorderColorFeaturesEXT; @@ -1084,7 +1084,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::customResolve: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceCustomResolveFeaturesEXT; @@ -1099,7 +1099,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dataGraph: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDataGraphFeaturesARM; @@ -1114,7 +1114,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dataGraphDescriptorBuffer: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDataGraphFeaturesARM; @@ -1129,7 +1129,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dataGraphShaderModule: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDataGraphFeaturesARM; @@ -1144,7 +1144,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dataGraphSpecializationConstants: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDataGraphFeaturesARM; @@ -1160,7 +1160,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dataGraphUpdateAfterBind: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDataGraphFeaturesARM; @@ -1175,7 +1175,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dataGraphModel: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDataGraphModelFeaturesQCOM; @@ -1190,7 +1190,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dedicatedAllocationImageAliasing: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV; @@ -1207,7 +1207,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::denseGeometryFormat: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDenseGeometryFormatFeaturesAMDX; @@ -1223,7 +1223,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #endif // VK_ENABLE_BETA_EXTENSIONS case Feature::depthBiasControl: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDepthBiasControlFeaturesEXT; @@ -1238,7 +1238,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::depthBiasExact: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDepthBiasControlFeaturesEXT; @@ -1253,7 +1253,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::floatRepresentation: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDepthBiasControlFeaturesEXT; @@ -1268,7 +1268,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::leastRepresentableValueForceUnormRepresentation: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDepthBiasControlFeaturesEXT; @@ -1284,7 +1284,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::depthClampControl: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDepthClampControlFeaturesEXT; @@ -1299,7 +1299,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::depthClampZeroOne: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDepthClampZeroOneFeaturesKHR; @@ -1314,7 +1314,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::depthClipControl: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDepthClipControlFeaturesEXT; @@ -1329,7 +1329,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::depthClipEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDepthClipEnableFeaturesEXT; @@ -1344,7 +1344,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBuffer: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorBufferFeaturesEXT; @@ -1359,7 +1359,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBufferCaptureReplay: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorBufferFeaturesEXT; @@ -1375,7 +1375,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBufferImageLayoutIgnored: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorBufferFeaturesEXT; @@ -1391,7 +1391,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBufferPushDescriptors: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorBufferFeaturesEXT; @@ -1407,7 +1407,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBufferTensorDescriptors: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorBufferTensorFeaturesARM; @@ -1423,7 +1423,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorHeap: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorHeapFeaturesEXT; @@ -1438,7 +1438,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorHeapCaptureReplay: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorHeapFeaturesEXT; @@ -1455,7 +1455,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::descriptorBindingPartiallyBound: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1469,7 +1469,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingPartiallyBound, "VkPhysicalDeviceVulkan12Features::descriptorBindingPartiallyBound"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1485,7 +1485,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingSampledImageUpdateAfterBind: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1499,7 +1499,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingSampledImageUpdateAfterBind, "VkPhysicalDeviceVulkan12Features::descriptorBindingSampledImageUpdateAfterBind"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1515,7 +1515,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingStorageBufferUpdateAfterBind: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1529,7 +1529,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingStorageBufferUpdateAfterBind, "VkPhysicalDeviceVulkan12Features::descriptorBindingStorageBufferUpdateAfterBind"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1545,7 +1545,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingStorageImageUpdateAfterBind: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1559,7 +1559,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingStorageImageUpdateAfterBind, "VkPhysicalDeviceVulkan12Features::descriptorBindingStorageImageUpdateAfterBind"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1575,7 +1575,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingStorageTexelBufferUpdateAfterBind: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1589,7 +1589,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingStorageTexelBufferUpdateAfterBind, "VkPhysicalDeviceVulkan12Features::descriptorBindingStorageTexelBufferUpdateAfterBind"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1605,7 +1605,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingUniformBufferUpdateAfterBind: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1619,7 +1619,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingUniformBufferUpdateAfterBind, "VkPhysicalDeviceVulkan12Features::descriptorBindingUniformBufferUpdateAfterBind"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1635,7 +1635,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingUniformTexelBufferUpdateAfterBind: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1649,7 +1649,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingUniformTexelBufferUpdateAfterBind, "VkPhysicalDeviceVulkan12Features::descriptorBindingUniformTexelBufferUpdateAfterBind"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1665,7 +1665,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingUpdateUnusedWhilePending: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1679,7 +1679,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingUpdateUnusedWhilePending, "VkPhysicalDeviceVulkan12Features::descriptorBindingUpdateUnusedWhilePending"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1695,7 +1695,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorBindingVariableDescriptorCount: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1709,7 +1709,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingVariableDescriptorCount, "VkPhysicalDeviceVulkan12Features::descriptorBindingVariableDescriptorCount"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1725,7 +1725,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::runtimeDescriptorArray: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1738,7 +1738,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->runtimeDescriptorArray, "VkPhysicalDeviceVulkan12Features::runtimeDescriptorArray"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1753,7 +1753,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderInputAttachmentArrayDynamicIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1767,7 +1767,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderInputAttachmentArrayDynamicIndexing, "VkPhysicalDeviceVulkan12Features::shaderInputAttachmentArrayDynamicIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1783,7 +1783,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderInputAttachmentArrayNonUniformIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1797,7 +1797,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderInputAttachmentArrayNonUniformIndexing, "VkPhysicalDeviceVulkan12Features::shaderInputAttachmentArrayNonUniformIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1813,7 +1813,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSampledImageArrayNonUniformIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1827,7 +1827,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderSampledImageArrayNonUniformIndexing, "VkPhysicalDeviceVulkan12Features::shaderSampledImageArrayNonUniformIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1843,7 +1843,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderStorageBufferArrayNonUniformIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1857,7 +1857,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderStorageBufferArrayNonUniformIndexing, "VkPhysicalDeviceVulkan12Features::shaderStorageBufferArrayNonUniformIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1873,7 +1873,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderStorageImageArrayNonUniformIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1887,7 +1887,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderStorageImageArrayNonUniformIndexing, "VkPhysicalDeviceVulkan12Features::shaderStorageImageArrayNonUniformIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1903,7 +1903,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderStorageTexelBufferArrayDynamicIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1917,7 +1917,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderStorageTexelBufferArrayDynamicIndexing, "VkPhysicalDeviceVulkan12Features::shaderStorageTexelBufferArrayDynamicIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1933,7 +1933,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderStorageTexelBufferArrayNonUniformIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1947,7 +1947,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderStorageTexelBufferArrayNonUniformIndexing, "VkPhysicalDeviceVulkan12Features::shaderStorageTexelBufferArrayNonUniformIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1963,7 +1963,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderUniformBufferArrayNonUniformIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -1977,7 +1977,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderUniformBufferArrayNonUniformIndexing, "VkPhysicalDeviceVulkan12Features::shaderUniformBufferArrayNonUniformIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -1993,7 +1993,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderUniformTexelBufferArrayDynamicIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -2007,7 +2007,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderUniformTexelBufferArrayDynamicIndexing, "VkPhysicalDeviceVulkan12Features::shaderUniformTexelBufferArrayDynamicIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -2023,7 +2023,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderUniformTexelBufferArrayNonUniformIndexing: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -2037,7 +2037,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderUniformTexelBufferArrayNonUniformIndexing, "VkPhysicalDeviceVulkan12Features::shaderUniformTexelBufferArrayNonUniformIndexing"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorIndexingFeatures; @@ -2052,7 +2052,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceDescriptorIndexingFeatures::shaderUniformTexelBufferArrayNonUniformIndexing"}; } case Feature::descriptorPoolOverallocation: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorPoolOverallocationFeaturesNV; @@ -2068,7 +2068,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorSetHostMapping: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE; @@ -2084,7 +2084,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::deviceGeneratedCompute: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV; @@ -2100,7 +2100,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::deviceGeneratedComputeCaptureReplay: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV; @@ -2116,7 +2116,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::deviceGeneratedComputePipelines: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV; @@ -2132,7 +2132,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::deviceGeneratedCommands: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT; @@ -2148,7 +2148,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dynamicGeneratedPipelineLayout: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT; @@ -2164,7 +2164,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::deviceMemoryReport: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDeviceMemoryReportFeaturesEXT; @@ -2179,7 +2179,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::diagnosticsConfig: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDiagnosticsConfigFeaturesNV; @@ -2195,7 +2195,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::displacementMicromap: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDisplacementMicromapFeaturesNV; @@ -2212,7 +2212,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::dynamicRendering: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -2225,7 +2225,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->dynamicRendering, "VkPhysicalDeviceVulkan13Features::dynamicRendering"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDynamicRenderingFeatures; @@ -2240,7 +2240,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dynamicRenderingLocalRead: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -2253,7 +2253,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->dynamicRenderingLocalRead, "VkPhysicalDeviceVulkan14Features::dynamicRenderingLocalRead"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDynamicRenderingLocalReadFeatures; @@ -2268,7 +2268,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceDynamicRenderingLocalReadFeatures::dynamicRenderingLocalRead"}; } case Feature::dynamicRenderingUnusedAttachments: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT; @@ -2284,7 +2284,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::exclusiveScissor: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExclusiveScissorFeaturesNV; @@ -2299,7 +2299,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState2FeaturesEXT; @@ -2314,7 +2314,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState2LogicOp: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState2FeaturesEXT; @@ -2330,7 +2330,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState2PatchControlPoints: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState2FeaturesEXT; @@ -2346,7 +2346,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3AlphaToCoverageEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2362,7 +2362,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3AlphaToOneEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2378,7 +2378,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ColorBlendAdvanced: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2394,7 +2394,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ColorBlendEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2410,7 +2410,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ColorBlendEquation: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2426,7 +2426,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ColorWriteMask: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2442,7 +2442,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ConservativeRasterizationMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2458,7 +2458,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3CoverageModulationMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2474,7 +2474,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3CoverageModulationTable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2490,7 +2490,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3CoverageModulationTableEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2506,7 +2506,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3CoverageReductionMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2522,7 +2522,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3CoverageToColorEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2538,7 +2538,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3CoverageToColorLocation: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2554,7 +2554,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3DepthClampEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2570,7 +2570,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3DepthClipEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2586,7 +2586,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3DepthClipNegativeOneToOne: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2602,7 +2602,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ExtraPrimitiveOverestimationSize: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2618,7 +2618,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3LineRasterizationMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2634,7 +2634,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3LineStippleEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2650,7 +2650,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3LogicOpEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2666,7 +2666,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3PolygonMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2682,7 +2682,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ProvokingVertexMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2698,7 +2698,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3RasterizationSamples: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2714,7 +2714,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3RasterizationStream: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2730,7 +2730,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3RepresentativeFragmentTestEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2746,7 +2746,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3SampleLocationsEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2762,7 +2762,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3SampleMask: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2778,7 +2778,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ShadingRateImageEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2794,7 +2794,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3TessellationDomainOrigin: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2810,7 +2810,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ViewportSwizzle: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2826,7 +2826,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState3ViewportWScalingEnable: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicState3FeaturesEXT; @@ -2842,7 +2842,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedDynamicState: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedDynamicStateFeaturesEXT; @@ -2857,7 +2857,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::extendedSparseAddressSpace: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExtendedSparseAddressSpaceFeaturesNV; @@ -2874,7 +2874,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_USE_PLATFORM_ANDROID_KHR case Feature::externalFormatResolve: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExternalFormatResolveFeaturesANDROID; @@ -2891,7 +2891,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #endif // VK_USE_PLATFORM_ANDROID_KHR case Feature::externalMemoryRDMA: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExternalMemoryRDMAFeaturesNV; @@ -2907,7 +2907,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_USE_PLATFORM_SCREEN_QNX case Feature::screenBufferImport: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX; @@ -2922,8 +2922,24 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } #endif // VK_USE_PLATFORM_SCREEN_QNX + case Feature::externalSemaphoreDrmSyncobj: { + auto vk_struct = const_cast( + vku::FindStructInPNextChain(*inout_pnext_chain)); + if (!vk_struct) { + vk_struct = new VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT; + *vk_struct = vku::InitStructHelper(); + if (*inout_pnext_chain) { + vvl::PnextChainAdd(*inout_pnext_chain, vk_struct); + } else { + *inout_pnext_chain = vk_struct; + } + } + return {&vk_struct->externalSemaphoreDrmSyncobj, + "VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT::externalSemaphoreDrmSyncobj"}; + } + case Feature::deviceFault: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFaultFeaturesEXT; @@ -2938,7 +2954,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::deviceFaultVendorBinary: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFaultFeaturesEXT; @@ -2953,7 +2969,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::formatPack: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFormatPackFeaturesARM; @@ -2968,7 +2984,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentDensityMapDeferred: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentDensityMap2FeaturesEXT; @@ -2984,7 +3000,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentDensityMap: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentDensityMapFeaturesEXT; @@ -2999,7 +3015,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentDensityMapDynamic: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentDensityMapFeaturesEXT; @@ -3015,7 +3031,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentDensityMapNonSubsampledImages: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentDensityMapFeaturesEXT; @@ -3031,7 +3047,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentDensityMapLayered: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentDensityMapLayeredFeaturesVALVE; @@ -3047,7 +3063,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentDensityMapOffset: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentDensityMapOffsetFeaturesEXT; @@ -3063,7 +3079,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentShaderBarycentric: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR; @@ -3079,7 +3095,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentShaderPixelInterlock: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT; @@ -3095,7 +3111,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentShaderSampleInterlock: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT; @@ -3111,7 +3127,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentShaderShadingRateInterlock: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT; @@ -3127,7 +3143,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::fragmentShadingRateEnums: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV; @@ -3143,7 +3159,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::noInvocationFragmentShadingRates: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV; @@ -3159,7 +3175,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::supersampleFragmentShadingRates: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShadingRateEnumsFeaturesNV; @@ -3175,7 +3191,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::attachmentFragmentShadingRate: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShadingRateFeaturesKHR; @@ -3191,7 +3207,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pipelineFragmentShadingRate: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShadingRateFeaturesKHR; @@ -3207,7 +3223,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::primitiveFragmentShadingRate: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFragmentShadingRateFeaturesKHR; @@ -3223,7 +3239,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::frameBoundary: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceFrameBoundaryFeaturesEXT; @@ -3239,7 +3255,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::globalPriorityQuery: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3252,7 +3268,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->globalPriorityQuery, "VkPhysicalDeviceVulkan14Features::globalPriorityQuery"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceGlobalPriorityQueryFeatures; @@ -3266,7 +3282,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->globalPriorityQuery, "VkPhysicalDeviceGlobalPriorityQueryFeatures::globalPriorityQuery"}; } case Feature::graphicsPipelineLibrary: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT; @@ -3282,7 +3298,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::hdrVivid: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceHdrVividFeaturesHUAWEI; @@ -3298,7 +3314,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::hostImageCopy: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3311,7 +3327,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->hostImageCopy, "VkPhysicalDeviceVulkan14Features::hostImageCopy"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceHostImageCopyFeatures; @@ -3326,7 +3342,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::hostQueryReset: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -3339,7 +3355,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->hostQueryReset, "VkPhysicalDeviceVulkan12Features::hostQueryReset"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceHostQueryResetFeatures; @@ -3353,7 +3369,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->hostQueryReset, "VkPhysicalDeviceHostQueryResetFeatures::hostQueryReset"}; } case Feature::image2DViewOf3D: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImage2DViewOf3DFeaturesEXT; @@ -3368,7 +3384,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::sampler2DViewOf3D: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImage2DViewOf3DFeaturesEXT; @@ -3383,7 +3399,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::imageAlignmentControl: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageAlignmentControlFeaturesMESA; @@ -3398,7 +3414,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::imageCompressionControl: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageCompressionControlFeaturesEXT; @@ -3414,7 +3430,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::imageCompressionControlSwapchain: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageCompressionControlSwapchainFeaturesEXT; @@ -3430,7 +3446,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::textureBlockMatch2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageProcessing2FeaturesQCOM; @@ -3445,7 +3461,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::textureBlockMatch: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageProcessingFeaturesQCOM; @@ -3460,7 +3476,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::textureBoxFilter: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageProcessingFeaturesQCOM; @@ -3475,7 +3491,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::textureSampleWeighted: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageProcessingFeaturesQCOM; @@ -3491,7 +3507,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::robustImageAccess: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -3504,7 +3520,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->robustImageAccess, "VkPhysicalDeviceVulkan13Features::robustImageAccess"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageRobustnessFeatures; @@ -3518,7 +3534,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->robustImageAccess, "VkPhysicalDeviceImageRobustnessFeatures::robustImageAccess"}; } case Feature::imageSlicedViewOf3D: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageSlicedViewOf3DFeaturesEXT; @@ -3533,7 +3549,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::minLod: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImageViewMinLodFeaturesEXT; @@ -3549,7 +3565,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::imagelessFramebuffer: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -3562,7 +3578,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->imagelessFramebuffer, "VkPhysicalDeviceVulkan12Features::imagelessFramebuffer"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceImagelessFramebufferFeatures; @@ -3577,7 +3593,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::indexTypeUint8: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3590,7 +3606,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->indexTypeUint8, "VkPhysicalDeviceVulkan14Features::indexTypeUint8"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceIndexTypeUint8Features; @@ -3604,7 +3620,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->indexTypeUint8, "VkPhysicalDeviceIndexTypeUint8Features::indexTypeUint8"}; } case Feature::inheritedViewportScissor2D: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceInheritedViewportScissorFeaturesNV; @@ -3621,7 +3637,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::descriptorBindingInlineUniformBlockUpdateAfterBind: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -3635,7 +3651,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->descriptorBindingInlineUniformBlockUpdateAfterBind, "VkPhysicalDeviceVulkan13Features::descriptorBindingInlineUniformBlockUpdateAfterBind"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceInlineUniformBlockFeatures; @@ -3651,7 +3667,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::inlineUniformBlock: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -3664,7 +3680,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->inlineUniformBlock, "VkPhysicalDeviceVulkan13Features::inlineUniformBlock"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceInlineUniformBlockFeatures; @@ -3678,7 +3694,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->inlineUniformBlock, "VkPhysicalDeviceInlineUniformBlockFeatures::inlineUniformBlock"}; } case Feature::internallySynchronizedQueues: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceInternallySynchronizedQueuesFeaturesKHR; @@ -3694,7 +3710,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::invocationMask: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceInvocationMaskFeaturesHUAWEI; @@ -3709,7 +3725,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::legacyDithering: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLegacyDitheringFeaturesEXT; @@ -3724,7 +3740,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::legacyVertexAttributes: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLegacyVertexAttributesFeaturesEXT; @@ -3741,7 +3757,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::bresenhamLines: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3754,7 +3770,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->bresenhamLines, "VkPhysicalDeviceVulkan14Features::bresenhamLines"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLineRasterizationFeatures; @@ -3769,7 +3785,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rectangularLines: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3782,7 +3798,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->rectangularLines, "VkPhysicalDeviceVulkan14Features::rectangularLines"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLineRasterizationFeatures; @@ -3797,7 +3813,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::smoothLines: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3810,7 +3826,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->smoothLines, "VkPhysicalDeviceVulkan14Features::smoothLines"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLineRasterizationFeatures; @@ -3825,7 +3841,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::stippledBresenhamLines: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3838,7 +3854,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->stippledBresenhamLines, "VkPhysicalDeviceVulkan14Features::stippledBresenhamLines"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLineRasterizationFeatures; @@ -3853,7 +3869,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::stippledRectangularLines: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3866,7 +3882,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->stippledRectangularLines, "VkPhysicalDeviceVulkan14Features::stippledRectangularLines"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLineRasterizationFeatures; @@ -3882,7 +3898,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::stippledSmoothLines: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3895,7 +3911,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->stippledSmoothLines, "VkPhysicalDeviceVulkan14Features::stippledSmoothLines"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLineRasterizationFeatures; @@ -3909,7 +3925,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->stippledSmoothLines, "VkPhysicalDeviceLineRasterizationFeatures::stippledSmoothLines"}; } case Feature::linearColorAttachment: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceLinearColorAttachmentFeaturesNV; @@ -3924,7 +3940,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::maintenance10: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMaintenance10FeaturesKHR; @@ -3940,7 +3956,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::maintenance4: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -3953,7 +3969,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->maintenance4, "VkPhysicalDeviceVulkan13Features::maintenance4"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMaintenance4Features; @@ -3968,7 +3984,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::maintenance5: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -3981,7 +3997,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->maintenance5, "VkPhysicalDeviceVulkan14Features::maintenance5"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMaintenance5Features; @@ -3996,7 +4012,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::maintenance6: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -4009,7 +4025,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->maintenance6, "VkPhysicalDeviceVulkan14Features::maintenance6"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMaintenance6Features; @@ -4023,7 +4039,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->maintenance6, "VkPhysicalDeviceMaintenance6Features::maintenance6"}; } case Feature::maintenance7: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMaintenance7FeaturesKHR; @@ -4038,7 +4054,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::maintenance8: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMaintenance8FeaturesKHR; @@ -4053,7 +4069,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::maintenance9: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMaintenance9FeaturesKHR; @@ -4068,7 +4084,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::memoryMapPlaced: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMapMemoryPlacedFeaturesEXT; @@ -4083,7 +4099,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::memoryMapRangePlaced: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMapMemoryPlacedFeaturesEXT; @@ -4098,7 +4114,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::memoryUnmapReserve: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMapMemoryPlacedFeaturesEXT; @@ -4113,7 +4129,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::memoryDecompression: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMemoryDecompressionFeaturesEXT; @@ -4128,7 +4144,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::memoryPriority: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMemoryPriorityFeaturesEXT; @@ -4143,7 +4159,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::meshShaderQueries: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMeshShaderFeaturesEXT; @@ -4158,7 +4174,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::multiviewMeshShader: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMeshShaderFeaturesEXT; @@ -4173,7 +4189,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::primitiveFragmentShadingRateMeshShader: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMeshShaderFeaturesEXT; @@ -4189,7 +4205,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::meshShader: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMeshShaderFeaturesEXT; @@ -4204,7 +4220,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::taskShader: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMeshShaderFeaturesEXT; @@ -4219,7 +4235,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::multiDraw: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMultiDrawFeaturesEXT; @@ -4234,7 +4250,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::multisampledRenderToSingleSampled: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT; @@ -4251,7 +4267,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::multiview: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -4264,7 +4280,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->multiview, "VkPhysicalDeviceVulkan11Features::multiview"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMultiviewFeatures; @@ -4279,7 +4295,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::multiviewGeometryShader: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -4292,7 +4308,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->multiviewGeometryShader, "VkPhysicalDeviceVulkan11Features::multiviewGeometryShader"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMultiviewFeatures; @@ -4307,7 +4323,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::multiviewTessellationShader: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -4320,7 +4336,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->multiviewTessellationShader, "VkPhysicalDeviceVulkan11Features::multiviewTessellationShader"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMultiviewFeatures; @@ -4334,7 +4350,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->multiviewTessellationShader, "VkPhysicalDeviceMultiviewFeatures::multiviewTessellationShader"}; } case Feature::multiviewPerViewRenderAreas: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM; @@ -4350,7 +4366,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::multiviewPerViewViewports: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM; @@ -4366,7 +4382,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::mutableDescriptorType: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceMutableDescriptorTypeFeaturesEXT; @@ -4381,7 +4397,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::nestedCommandBuffer: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceNestedCommandBufferFeaturesEXT; @@ -4396,7 +4412,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::nestedCommandBufferRendering: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceNestedCommandBufferFeaturesEXT; @@ -4412,7 +4428,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::nestedCommandBufferSimultaneousUse: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceNestedCommandBufferFeaturesEXT; @@ -4428,7 +4444,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::nonSeamlessCubeMap: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceNonSeamlessCubeMapFeaturesEXT; @@ -4443,7 +4459,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::micromap: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceOpacityMicromapFeaturesEXT; @@ -4458,7 +4474,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::micromapCaptureReplay: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceOpacityMicromapFeaturesEXT; @@ -4473,7 +4489,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::micromapHostCommands: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceOpacityMicromapFeaturesEXT; @@ -4488,7 +4504,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::opticalFlow: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceOpticalFlowFeaturesNV; @@ -4503,7 +4519,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pageableDeviceLocalMemory: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePageableDeviceLocalMemoryFeaturesEXT; @@ -4519,7 +4535,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::partitionedAccelerationStructure: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePartitionedAccelerationStructureFeaturesNV; @@ -4535,7 +4551,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::dynamicPipelineLayout: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePerStageDescriptorSetFeaturesNV; @@ -4550,7 +4566,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::perStageDescriptorSet: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePerStageDescriptorSetFeaturesNV; @@ -4565,7 +4581,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::performanceCountersByRegion: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePerformanceCountersByRegionFeaturesARM; @@ -4581,7 +4597,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::performanceCounterMultipleQueryPools: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePerformanceQueryFeaturesKHR; @@ -4597,7 +4613,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::performanceCounterQueryPools: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePerformanceQueryFeaturesKHR; @@ -4613,7 +4629,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pipelineBinaries: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelineBinaryFeaturesKHR; @@ -4628,7 +4644,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pipelineCacheIncrementalMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelineCacheIncrementalModeFeaturesSEC; @@ -4645,7 +4661,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::pipelineCreationCacheControl: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -4658,7 +4674,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->pipelineCreationCacheControl, "VkPhysicalDeviceVulkan13Features::pipelineCreationCacheControl"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelineCreationCacheControlFeatures; @@ -4673,7 +4689,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDevicePipelineCreationCacheControlFeatures::pipelineCreationCacheControl"}; } case Feature::pipelineExecutableInfo: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR; @@ -4689,7 +4705,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pipelineLibraryGroupHandles: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; @@ -4705,7 +4721,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pipelineOpacityMicromap: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelineOpacityMicromapFeaturesARM; @@ -4721,7 +4737,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pipelinePropertiesIdentifier: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelinePropertiesFeaturesEXT; @@ -4738,7 +4754,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::pipelineProtectedAccess: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -4751,7 +4767,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->pipelineProtectedAccess, "VkPhysicalDeviceVulkan14Features::pipelineProtectedAccess"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelineProtectedAccessFeatures; @@ -4767,7 +4783,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pipelineRobustness: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -4780,7 +4796,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->pipelineRobustness, "VkPhysicalDeviceVulkan14Features::pipelineRobustness"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePipelineRobustnessFeatures; @@ -4795,8 +4811,8 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } #ifdef VK_ENABLE_BETA_EXTENSIONS - case Feature::constantAlphaColorBlendFactors: { - auto vk_struct = const_cast( + case Feature::constantAlphaColorBlendFactors: { + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4814,7 +4830,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::events: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4831,7 +4847,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::imageView2DOn3DImage: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4848,7 +4864,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::imageViewFormatReinterpretation: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4866,7 +4882,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::imageViewFormatSwizzle: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4883,7 +4899,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::multisampleArrayImage: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4900,7 +4916,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::mutableComparisonSamplers: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4918,7 +4934,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::pointPolygons: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4935,7 +4951,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::samplerMipLodBias: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4952,7 +4968,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::separateStencilMaskRef: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4969,7 +4985,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::shaderSampleRateInterpolationFunctions: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -4987,7 +5003,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::tessellationIsolines: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -5004,7 +5020,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::tessellationPointMode: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -5021,7 +5037,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::triangleFans: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -5038,7 +5054,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::vertexAttributeAccessBeyondStride: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePortabilitySubsetFeaturesKHR; @@ -5055,7 +5071,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #endif // VK_ENABLE_BETA_EXTENSIONS case Feature::presentBarrier: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentBarrierFeaturesNV; @@ -5070,7 +5086,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::presentId2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentId2FeaturesKHR; @@ -5085,7 +5101,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::presentId: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentIdFeaturesKHR; @@ -5101,7 +5117,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::presentMetering: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentMeteringFeaturesNV; @@ -5117,7 +5133,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #endif // VK_ENABLE_BETA_EXTENSIONS case Feature::presentModeFifoLatestReady: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentModeFifoLatestReadyFeaturesKHR; @@ -5133,7 +5149,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::presentAtAbsoluteTime: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentTimingFeaturesEXT; @@ -5148,7 +5164,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::presentAtRelativeTime: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentTimingFeaturesEXT; @@ -5163,7 +5179,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::presentTiming: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentTimingFeaturesEXT; @@ -5178,7 +5194,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::presentWait2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentWait2FeaturesKHR; @@ -5193,7 +5209,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::presentWait: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePresentWaitFeaturesKHR; @@ -5208,7 +5224,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::primitiveTopologyListRestart: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT; @@ -5224,7 +5240,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::primitiveTopologyPatchListRestart: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePrimitiveTopologyListRestartFeaturesEXT; @@ -5240,7 +5256,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::primitivesGeneratedQuery: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT; @@ -5256,7 +5272,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::primitivesGeneratedQueryWithNonZeroStreams: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT; @@ -5272,7 +5288,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::primitivesGeneratedQueryWithRasterizerDiscard: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT; @@ -5289,7 +5305,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::privateData: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -5302,7 +5318,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->privateData, "VkPhysicalDeviceVulkan13Features::privateData"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePrivateDataFeatures; @@ -5317,7 +5333,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::protectedMemory: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -5330,7 +5346,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->protectedMemory, "VkPhysicalDeviceVulkan11Features::protectedMemory"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceProtectedMemoryFeatures; @@ -5344,7 +5360,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->protectedMemory, "VkPhysicalDeviceProtectedMemoryFeatures::protectedMemory"}; } case Feature::provokingVertexLast: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceProvokingVertexFeaturesEXT; @@ -5359,7 +5375,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::transformFeedbackPreservesProvokingVertex: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceProvokingVertexFeaturesEXT; @@ -5375,7 +5391,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::pushConstantBank: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDevicePushConstantBankFeaturesNV; @@ -5390,7 +5406,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::formatRgba10x6WithoutYCbCrSampler: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRGBA10X6FormatsFeaturesEXT; @@ -5406,7 +5422,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rasterizationOrderColorAttachmentAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT; @@ -5422,7 +5438,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rasterizationOrderDepthAttachmentAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT; @@ -5438,7 +5454,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rasterizationOrderStencilAttachmentAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT; @@ -5454,7 +5470,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderRawAccessChains: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRawAccessChainsFeaturesNV; @@ -5469,7 +5485,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayQuery: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayQueryFeaturesKHR; @@ -5484,7 +5500,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingInvocationReorder: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingInvocationReorderFeaturesEXT; @@ -5500,7 +5516,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::linearSweptSpheres: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV; @@ -5515,7 +5531,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::spheres: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingLinearSweptSpheresFeaturesNV; @@ -5530,7 +5546,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingMaintenance1: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR; @@ -5546,7 +5562,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingPipelineTraceRaysIndirect2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingMaintenance1FeaturesKHR; @@ -5562,7 +5578,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingMotionBlur: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingMotionBlurFeaturesNV; @@ -5577,7 +5593,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingMotionBlurPipelineTraceRaysIndirect: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingMotionBlurFeaturesNV; @@ -5593,7 +5609,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingPipeline: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingPipelineFeaturesKHR; @@ -5608,7 +5624,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingPipelineShaderGroupHandleCaptureReplay: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingPipelineFeaturesKHR; @@ -5624,7 +5640,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingPipelineShaderGroupHandleCaptureReplayMixed: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingPipelineFeaturesKHR; @@ -5640,7 +5656,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingPipelineTraceRaysIndirect: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingPipelineFeaturesKHR; @@ -5656,7 +5672,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTraversalPrimitiveCulling: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingPipelineFeaturesKHR; @@ -5672,7 +5688,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingPositionFetch: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingPositionFetchFeaturesKHR; @@ -5688,7 +5704,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::rayTracingValidation: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRayTracingValidationFeaturesNV; @@ -5703,7 +5719,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::relaxedLineRasterization: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRelaxedLineRasterizationFeaturesIMG; @@ -5719,7 +5735,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::renderPassStriped: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRenderPassStripedFeaturesARM; @@ -5734,7 +5750,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::representativeFragmentTest: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV; @@ -5750,7 +5766,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::nullDescriptor: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRobustness2FeaturesKHR; @@ -5765,7 +5781,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::robustBufferAccess2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRobustness2FeaturesKHR; @@ -5780,7 +5796,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::robustImageAccess2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceRobustness2FeaturesKHR; @@ -5796,7 +5812,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::samplerYcbcrConversion: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -5809,7 +5825,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->samplerYcbcrConversion, "VkPhysicalDeviceVulkan11Features::samplerYcbcrConversion"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSamplerYcbcrConversionFeatures; @@ -5825,7 +5841,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::scalarBlockLayout: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -5838,7 +5854,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->scalarBlockLayout, "VkPhysicalDeviceVulkan12Features::scalarBlockLayout"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceScalarBlockLayoutFeatures; @@ -5852,7 +5868,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->scalarBlockLayout, "VkPhysicalDeviceScalarBlockLayoutFeatures::scalarBlockLayout"}; } case Feature::schedulingControls: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSchedulingControlsFeaturesARM; @@ -5868,7 +5884,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::separateDepthStencilLayouts: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -5881,7 +5897,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->separateDepthStencilLayouts, "VkPhysicalDeviceVulkan12Features::separateDepthStencilLayouts"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures; @@ -5896,7 +5912,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures::separateDepthStencilLayouts"}; } case Feature::shader64BitIndexing: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShader64BitIndexingFeaturesEXT; @@ -5911,7 +5927,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderFloat16VectorAtomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat16VectorFeaturesNV; @@ -5927,7 +5943,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat16AtomicAdd: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -5943,7 +5959,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat16AtomicMinMax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -5959,7 +5975,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat16Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -5975,7 +5991,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat32AtomicMinMax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -5991,7 +6007,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat64AtomicMinMax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -6007,7 +6023,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderImageFloat32AtomicMinMax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -6023,7 +6039,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat16AtomicAdd: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -6039,7 +6055,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat16AtomicMinMax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -6055,7 +6071,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat16Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -6071,7 +6087,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat32AtomicMinMax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -6087,7 +6103,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat64AtomicMinMax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -6103,7 +6119,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::sparseImageFloat32AtomicMinMax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloat2FeaturesEXT; @@ -6119,7 +6135,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat32AtomicAdd: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6135,7 +6151,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat32Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6151,7 +6167,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat64AtomicAdd: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6167,7 +6183,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBufferFloat64Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6183,7 +6199,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderImageFloat32AtomicAdd: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6199,7 +6215,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderImageFloat32Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6215,7 +6231,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat32AtomicAdd: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6231,7 +6247,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat32Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6247,7 +6263,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat64AtomicAdd: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6263,7 +6279,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedFloat64Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6279,7 +6295,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::sparseImageFloat32AtomicAdd: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6295,7 +6311,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::sparseImageFloat32Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicFloatFeaturesEXT; @@ -6312,7 +6328,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::shaderBufferInt64Atomics: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -6325,7 +6341,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderBufferInt64Atomics, "VkPhysicalDeviceVulkan12Features::shaderBufferInt64Atomics"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicInt64Features; @@ -6341,7 +6357,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSharedInt64Atomics: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -6354,7 +6370,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderSharedInt64Atomics, "VkPhysicalDeviceVulkan12Features::shaderSharedInt64Atomics"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderAtomicInt64Features; @@ -6369,7 +6385,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceShaderAtomicInt64Features::shaderSharedInt64Atomics"}; } case Feature::shaderBFloat16CooperativeMatrix: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderBfloat16FeaturesKHR; @@ -6385,7 +6401,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBFloat16DotProduct: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderBfloat16FeaturesKHR; @@ -6400,7 +6416,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderBFloat16Type: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderBfloat16FeaturesKHR; @@ -6415,7 +6431,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderDeviceClock: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderClockFeaturesKHR; @@ -6430,7 +6446,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSubgroupClock: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderClockFeaturesKHR; @@ -6445,7 +6461,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderCoreBuiltins: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderCoreBuiltinsFeaturesARM; @@ -6461,7 +6477,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::shaderDemoteToHelperInvocation: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -6475,7 +6491,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderDemoteToHelperInvocation, "VkPhysicalDeviceVulkan13Features::shaderDemoteToHelperInvocation"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderDemoteToHelperInvocationFeatures; @@ -6491,7 +6507,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderDrawParameters: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -6504,7 +6520,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderDrawParameters, "VkPhysicalDeviceVulkan11Features::shaderDrawParameters"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderDrawParametersFeatures; @@ -6518,7 +6534,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderDrawParameters, "VkPhysicalDeviceShaderDrawParametersFeatures::shaderDrawParameters"}; } case Feature::shaderEarlyAndLateFragmentTests: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD; @@ -6535,7 +6551,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::shaderEnqueue: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderEnqueueFeaturesAMDX; @@ -6552,7 +6568,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i #ifdef VK_ENABLE_BETA_EXTENSIONS case Feature::shaderMeshEnqueue: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderEnqueueFeaturesAMDX; @@ -6569,7 +6585,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::shaderExpectAssume: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -6582,7 +6598,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderExpectAssume, "VkPhysicalDeviceVulkan14Features::shaderExpectAssume"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderExpectAssumeFeatures; @@ -6597,7 +6613,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderFloat16: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -6610,7 +6626,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderFloat16, "VkPhysicalDeviceVulkan12Features::shaderFloat16"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderFloat16Int8Features; @@ -6625,7 +6641,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderInt8: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -6638,7 +6654,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderInt8, "VkPhysicalDeviceVulkan12Features::shaderInt8"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderFloat16Int8Features; @@ -6652,7 +6668,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderInt8, "VkPhysicalDeviceShaderFloat16Int8Features::shaderInt8"}; } case Feature::shaderFloat8: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderFloat8FeaturesEXT; @@ -6667,7 +6683,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderFloat8CooperativeMatrix: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderFloat8FeaturesEXT; @@ -6684,7 +6700,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::shaderFloatControls2: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -6697,7 +6713,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderFloatControls2, "VkPhysicalDeviceVulkan14Features::shaderFloatControls2"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderFloatControls2Features; @@ -6711,7 +6727,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderFloatControls2, "VkPhysicalDeviceShaderFloatControls2Features::shaderFloatControls2"}; } case Feature::shaderFmaFloat16: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderFmaFeaturesKHR; @@ -6726,7 +6742,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderFmaFloat32: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderFmaFeaturesKHR; @@ -6741,7 +6757,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderFmaFloat64: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderFmaFeaturesKHR; @@ -6756,7 +6772,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderImageInt64Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT; @@ -6772,7 +6788,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::sparseImageInt64Atomics: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT; @@ -6788,7 +6804,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::imageFootprint: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderImageFootprintFeaturesNV; @@ -6804,7 +6820,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::shaderIntegerDotProduct: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -6817,7 +6833,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderIntegerDotProduct, "VkPhysicalDeviceVulkan13Features::shaderIntegerDotProduct"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderIntegerDotProductFeatures; @@ -6832,7 +6848,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceShaderIntegerDotProductFeatures::shaderIntegerDotProduct"}; } case Feature::shaderIntegerFunctions2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL; @@ -6848,7 +6864,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::longVector: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderLongVectorFeaturesEXT; @@ -6863,7 +6879,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderMaximalReconvergence: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderMaximalReconvergenceFeaturesKHR; @@ -6879,7 +6895,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderMixedFloatDotProductBFloat16Acc: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE; @@ -6895,7 +6911,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderMixedFloatDotProductFloat16AccFloat16: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE; @@ -6911,7 +6927,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderMixedFloatDotProductFloat16AccFloat32: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE; @@ -6927,7 +6943,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderMixedFloatDotProductFloat8AccFloat32: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderMixedFloatDotProductFeaturesVALVE; @@ -6943,7 +6959,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderModuleIdentifier: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderModuleIdentifierFeaturesEXT; @@ -6959,7 +6975,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderObject: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderObjectFeaturesEXT; @@ -6974,7 +6990,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderQuadControl: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderQuadControlFeaturesKHR; @@ -6989,7 +7005,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderRelaxedExtendedInstruction: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR; @@ -7005,7 +7021,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderReplicatedComposites: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderReplicatedCompositesFeaturesEXT; @@ -7021,7 +7037,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSMBuiltins: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderSMBuiltinsFeaturesNV; @@ -7037,7 +7053,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::shaderSubgroupExtendedTypes: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -7050,7 +7066,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderSubgroupExtendedTypes, "VkPhysicalDeviceVulkan12Features::shaderSubgroupExtendedTypes"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures; @@ -7065,7 +7081,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures::shaderSubgroupExtendedTypes"}; } case Feature::shaderSubgroupPartitioned: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT; @@ -7082,7 +7098,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::shaderSubgroupRotate: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -7095,7 +7111,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderSubgroupRotate, "VkPhysicalDeviceVulkan14Features::shaderSubgroupRotate"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderSubgroupRotateFeatures; @@ -7110,7 +7126,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderSubgroupRotateClustered: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -7124,7 +7140,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderSubgroupRotateClustered, "VkPhysicalDeviceVulkan14Features::shaderSubgroupRotateClustered"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderSubgroupRotateFeatures; @@ -7139,7 +7155,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceShaderSubgroupRotateFeatures::shaderSubgroupRotateClustered"}; } case Feature::shaderSubgroupUniformControlFlow: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR; @@ -7156,7 +7172,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::shaderTerminateInvocation: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -7169,7 +7185,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->shaderTerminateInvocation, "VkPhysicalDeviceVulkan13Features::shaderTerminateInvocation"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderTerminateInvocationFeatures; @@ -7184,7 +7200,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceShaderTerminateInvocationFeatures::shaderTerminateInvocation"}; } case Feature::shaderTileImageColorReadAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderTileImageFeaturesEXT; @@ -7200,7 +7216,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderTileImageDepthReadAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderTileImageFeaturesEXT; @@ -7216,7 +7232,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderTileImageStencilReadAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderTileImageFeaturesEXT; @@ -7232,7 +7248,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderUniformBufferUnsizedArray: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT; @@ -7248,7 +7264,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderUntypedPointers: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShaderUntypedPointersFeaturesKHR; @@ -7263,7 +7279,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shadingRateCoarseSampleOrder: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShadingRateImageFeaturesNV; @@ -7279,7 +7295,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shadingRateImage: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceShadingRateImageFeaturesNV; @@ -7295,7 +7311,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::computeFullSubgroups: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -7308,7 +7324,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->computeFullSubgroups, "VkPhysicalDeviceVulkan13Features::computeFullSubgroups"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSubgroupSizeControlFeatures; @@ -7323,7 +7339,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::subgroupSizeControl: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -7336,7 +7352,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->subgroupSizeControl, "VkPhysicalDeviceVulkan13Features::subgroupSizeControl"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSubgroupSizeControlFeatures; @@ -7350,7 +7366,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->subgroupSizeControl, "VkPhysicalDeviceSubgroupSizeControlFeatures::subgroupSizeControl"}; } case Feature::subpassMergeFeedback: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSubpassMergeFeedbackFeaturesEXT; @@ -7365,7 +7381,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::subpassShading: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSubpassShadingFeaturesHUAWEI; @@ -7380,7 +7396,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::swapchainMaintenance1: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSwapchainMaintenance1FeaturesKHR; @@ -7396,7 +7412,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::synchronization2: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -7409,7 +7425,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->synchronization2, "VkPhysicalDeviceVulkan13Features::synchronization2"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceSynchronization2Features; @@ -7423,7 +7439,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->synchronization2, "VkPhysicalDeviceSynchronization2Features::synchronization2"}; } case Feature::descriptorBindingStorageTensorUpdateAfterBind: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTensorFeaturesARM; @@ -7439,7 +7455,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderStorageTensorArrayDynamicIndexing: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTensorFeaturesARM; @@ -7455,7 +7471,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderStorageTensorArrayNonUniformIndexing: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTensorFeaturesARM; @@ -7471,7 +7487,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderTensorAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTensorFeaturesARM; @@ -7486,7 +7502,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tensorNonPacked: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTensorFeaturesARM; @@ -7501,7 +7517,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tensors: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTensorFeaturesARM; @@ -7516,7 +7532,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::texelBufferAlignment: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT; @@ -7531,7 +7547,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::textureCompressionASTC_3D: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT; @@ -7548,7 +7564,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::textureCompressionASTC_HDR: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -7561,7 +7577,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->textureCompressionASTC_HDR, "VkPhysicalDeviceVulkan13Features::textureCompressionASTC_HDR"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTextureCompressionASTCHDRFeatures; @@ -7576,7 +7592,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceTextureCompressionASTCHDRFeatures::textureCompressionASTC_HDR"}; } case Feature::tileMemoryHeap: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileMemoryHeapFeaturesQCOM; @@ -7591,7 +7607,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileProperties: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTilePropertiesFeaturesQCOM; @@ -7606,7 +7622,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShading: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7621,7 +7637,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingAnisotropicApron: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7637,7 +7653,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingApron: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7652,7 +7668,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingAtomicOps: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7667,7 +7683,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingColorAttachments: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7683,7 +7699,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingDepthAttachments: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7699,7 +7715,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingDispatchTile: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7714,7 +7730,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingFragmentStage: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7729,7 +7745,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingImageProcessing: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7744,7 +7760,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingInputAttachments: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7760,7 +7776,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingPerTileDispatch: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7775,7 +7791,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingPerTileDraw: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7790,7 +7806,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingSampledAttachments: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7806,7 +7822,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::tileShadingStencilAttachments: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTileShadingFeaturesQCOM; @@ -7823,7 +7839,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::timelineSemaphore: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -7836,7 +7852,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->timelineSemaphore, "VkPhysicalDeviceVulkan12Features::timelineSemaphore"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTimelineSemaphoreFeatures; @@ -7850,7 +7866,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->timelineSemaphore, "VkPhysicalDeviceTimelineSemaphoreFeatures::timelineSemaphore"}; } case Feature::geometryStreams: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTransformFeedbackFeaturesEXT; @@ -7865,7 +7881,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::transformFeedback: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceTransformFeedbackFeaturesEXT; @@ -7880,7 +7896,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::unifiedImageLayouts: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR; @@ -7895,7 +7911,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::unifiedImageLayoutsVideo: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceUnifiedImageLayoutsFeaturesKHR; @@ -7912,7 +7928,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::uniformBufferStandardLayout: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -7925,7 +7941,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->uniformBufferStandardLayout, "VkPhysicalDeviceVulkan12Features::uniformBufferStandardLayout"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceUniformBufferStandardLayoutFeatures; @@ -7941,7 +7957,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::variablePointers: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -7954,7 +7970,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->variablePointers, "VkPhysicalDeviceVulkan11Features::variablePointers"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVariablePointersFeatures; @@ -7969,7 +7985,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::variablePointersStorageBuffer: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan11Features; @@ -7983,7 +7999,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->variablePointersStorageBuffer, "VkPhysicalDeviceVulkan11Features::variablePointersStorageBuffer"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVariablePointersFeatures; @@ -7999,7 +8015,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::vertexAttributeInstanceRateDivisor: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -8013,7 +8029,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->vertexAttributeInstanceRateDivisor, "VkPhysicalDeviceVulkan14Features::vertexAttributeInstanceRateDivisor"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVertexAttributeDivisorFeatures; @@ -8029,7 +8045,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::vertexAttributeInstanceRateZeroDivisor: if (api_version >= VK_API_VERSION_1_4) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -8043,7 +8059,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->vertexAttributeInstanceRateZeroDivisor, "VkPhysicalDeviceVulkan14Features::vertexAttributeInstanceRateZeroDivisor"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVertexAttributeDivisorFeatures; @@ -8058,7 +8074,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceVertexAttributeDivisorFeatures::vertexAttributeInstanceRateZeroDivisor"}; } case Feature::vertexAttributeRobustness: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT; @@ -8074,7 +8090,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::vertexInputDynamicState: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVertexInputDynamicStateFeaturesEXT; @@ -8090,7 +8106,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::videoDecodeVP9: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVideoDecodeVP9FeaturesKHR; @@ -8105,7 +8121,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::videoEncodeAV1: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVideoEncodeAV1FeaturesKHR; @@ -8120,7 +8136,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::videoEncodeIntraRefresh: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVideoEncodeIntraRefreshFeaturesKHR; @@ -8136,7 +8152,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::videoEncodeQuantizationMap: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVideoEncodeQuantizationMapFeaturesKHR; @@ -8152,7 +8168,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::videoEncodeRgbConversion: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVideoEncodeRgbConversionFeaturesVALVE; @@ -8168,7 +8184,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::videoMaintenance1: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVideoMaintenance1FeaturesKHR; @@ -8183,7 +8199,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::videoMaintenance2: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVideoMaintenance2FeaturesKHR; @@ -8198,7 +8214,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::descriptorIndexing: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8213,7 +8229,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::drawIndirectCount: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8228,7 +8244,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::samplerFilterMinmax: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8243,7 +8259,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::samplerMirrorClampToEdge: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8258,7 +8274,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderOutputLayer: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8273,7 +8289,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderOutputViewportIndex: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8288,7 +8304,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::subgroupBroadcastDynamicId: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8304,7 +8320,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i case Feature::vulkanMemoryModel: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8317,7 +8333,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->vulkanMemoryModel, "VkPhysicalDeviceVulkan12Features::vulkanMemoryModel"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkanMemoryModelFeatures; @@ -8332,7 +8348,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::vulkanMemoryModelAvailabilityVisibilityChains: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8346,7 +8362,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->vulkanMemoryModelAvailabilityVisibilityChains, "VkPhysicalDeviceVulkan12Features::vulkanMemoryModelAvailabilityVisibilityChains"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkanMemoryModelFeatures; @@ -8362,7 +8378,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::vulkanMemoryModelDeviceScope: if (api_version >= VK_API_VERSION_1_2) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan12Features; @@ -8375,7 +8391,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } return {&vk_struct->vulkanMemoryModelDeviceScope, "VkPhysicalDeviceVulkan12Features::vulkanMemoryModelDeviceScope"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkanMemoryModelFeatures; @@ -8391,7 +8407,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::shaderZeroInitializeWorkgroupMemory: if (api_version >= VK_API_VERSION_1_3) { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan13Features; @@ -8405,7 +8421,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i return {&vk_struct->shaderZeroInitializeWorkgroupMemory, "VkPhysicalDeviceVulkan13Features::shaderZeroInitializeWorkgroupMemory"}; } else { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures; @@ -8420,7 +8436,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i "VkPhysicalDeviceZeroInitializeWorkgroupMemoryFeatures::shaderZeroInitializeWorkgroupMemory"}; } case Feature::pushDescriptor: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceVulkan14Features; @@ -8435,7 +8451,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::workgroupMemoryExplicitLayout: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR; @@ -8451,7 +8467,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::workgroupMemoryExplicitLayout16BitAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR; @@ -8467,7 +8483,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::workgroupMemoryExplicitLayout8BitAccess: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR; @@ -8483,7 +8499,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::workgroupMemoryExplicitLayoutScalarBlockLayout: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR; @@ -8499,7 +8515,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::ycbcr2plane444Formats: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT; @@ -8514,7 +8530,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::ycbcrDegamma: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceYcbcrDegammaFeaturesQCOM; @@ -8529,7 +8545,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::ycbcrImageArrays: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceYcbcrImageArraysFeaturesEXT; @@ -8544,7 +8560,7 @@ FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **i } case Feature::zeroInitializeDeviceMemory: { - auto vk_struct = const_cast( + auto vk_struct = const_cast( vku::FindStructInPNextChain(*inout_pnext_chain)); if (!vk_struct) { vk_struct = new VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT; diff --git a/layers/vulkan/generated/feature_requirements_helper.h b/layers/vulkan/generated/feature_requirements_helper.h index 8e7ecdc4529..fed8b34bb03 100644 --- a/layers/vulkan/generated/feature_requirements_helper.h +++ b/layers/vulkan/generated/feature_requirements_helper.h @@ -340,6 +340,8 @@ enum class Feature { externalMemoryRDMA, // VkPhysicalDeviceExternalMemoryScreenBufferFeaturesQNX screenBufferImport, + // VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT + externalSemaphoreDrmSyncobj, // VkPhysicalDeviceFaultFeaturesEXT deviceFault, // VkPhysicalDeviceFaultFeaturesEXT @@ -1083,13 +1085,13 @@ enum class Feature { }; struct FeatureAndName { - VkBool32 *feature; - const char *name; + VkBool32* feature; + const char* name; }; // Find or add the correct VkPhysicalDeviceFeature struct in `pnext_chain` based on `feature`, // a vkt::Feature enum value, and set feature to VK_TRUE -FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void **inout_pnext_chain); +FeatureAndName AddFeature(APIVersion api_version, vkt::Feature feature, void** inout_pnext_chain); } // namespace vkt diff --git a/layers/vulkan/generated/pnext_chain_extraction.cpp b/layers/vulkan/generated/pnext_chain_extraction.cpp index 2e629314248..1c1bac4fe11 100644 --- a/layers/vulkan/generated/pnext_chain_extraction.cpp +++ b/layers/vulkan/generated/pnext_chain_extraction.cpp @@ -28,3875 +28,3880 @@ namespace vvl { -void *PnextChainAdd(void *chain, void *new_struct) { +void* PnextChainAdd(void* chain, void* new_struct) { assert(chain); assert(new_struct); - void *chain_end = vku::FindLastStructInPNextChain(chain); - auto *vk_base_struct = static_cast(chain_end); + void* chain_end = vku::FindLastStructInPNextChain(chain); + auto* vk_base_struct = static_cast(chain_end); assert(!vk_base_struct->pNext); - vk_base_struct->pNext = static_cast(new_struct); + vk_base_struct->pNext = static_cast(new_struct); return new_struct; } -void PnextChainRemoveLast(void *chain) { +void PnextChainRemoveLast(void* chain) { if (!chain) { return; } - auto *current = static_cast(chain); - auto *prev = current; + auto* current = static_cast(chain); + auto* prev = current; while (current->pNext) { prev = current; - current = static_cast(current->pNext); + current = static_cast(current->pNext); } prev->pNext = nullptr; } -void PnextChainFree(void *chain) { +void PnextChainFree(void* chain) { if (!chain) return; - auto header = reinterpret_cast(chain); + auto header = reinterpret_cast(chain); switch (header->sType) { case VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_BARRIER_2: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SYNCHRONIZATION_2_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_3: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_4_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TERMINATE_INVOCATION_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_WORKGROUP_MEMORY_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ROBUSTNESS_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDERING_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_4_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_5_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_6_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BIND_MEMORY_STATUS: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_IMAGE_COPY_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SUBRESOURCE_HOST_MEMCPY_SIZE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_HOST_IMAGE_COPY_DEVICE_PERFORMANCE_QUERY: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_ROTATE_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT_CONTROLS_2_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EXPECT_ASSUME_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROTECTED_ACCESS_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_ROBUSTNESS_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_ROBUSTNESS_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_LOCAL_READ_FEATURES: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_LOCATION_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDERING_INPUT_ATTACHMENT_INDEX_INFO: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUEUE_FAMILY_VIDEO_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_PROFILE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_USAGE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_QUALITY_LEVEL_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_GET_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_SESSION_PARAMETERS_FEEDBACK_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_PICTURE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_DPB_SLOT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_PROFILE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_GOP_REMAINING_FRAME_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_QUALITY_LEVEL_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_GET_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_SESSION_PARAMETERS_FEEDBACK_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_PICTURE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_DPB_SLOT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_PROFILE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_GOP_REMAINING_FRAME_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PROFILE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_ADD_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_SESSION_PARAMETERS_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PICTURE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_DPB_SLOT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_BFLOAT16_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PROFILE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_ADD_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_SESSION_PARAMETERS_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_PICTURE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_DPB_SLOT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_STATE_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_SHADING_RATE_ATTACHMENT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_QUAD_CONTROL_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_LIBRARY_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PRESENT_ID_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_UNIFORM_CONTROL_FLOW_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MAINTENANCE_1_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNTYPED_POINTERS_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MAXIMAL_RECONVERGENCE_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_ID_2_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PRESENT_ID_2_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_ID_2_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_WAIT_2_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_WAIT_2_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_POSITION_FETCH_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_BINARY_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_BINARY_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_PIPELINE_BINARY_INTERNAL_CACHE_CONTROL_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_BINARY_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_COMPATIBILITY_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SWAPCHAIN_MAINTENANCE_1_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_FENCE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODES_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_MODE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_SCALING_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INTERNALLY_SYNCHRONIZED_QUEUES_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PICTURE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_DPB_SLOT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_AV1_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUALITY_LEVEL_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_SESSION_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_SESSION_PARAMETERS_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_PICTURE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_DPB_SLOT_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_PROFILE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_GOP_REMAINING_FRAME_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_RATE_CONTROL_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_RATE_CONTROL_LAYER_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_DECODE_VP9_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_VP9_PROFILE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_VP9_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_VP9_PICTURE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_1_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_INLINE_QUERY_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFIED_IMAGE_LAYOUTS_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ATTACHMENT_FEEDBACK_LOOP_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_INTRA_REFRESH_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_INTRA_REFRESH_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_INTRA_REFRESH_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_REFERENCE_INTRA_REFRESH_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_INTRA_REFRESH_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_FORMAT_QUANTIZATION_MAP_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUANTIZATION_MAP_SESSION_PARAMETERS_CREATE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUANTIZATION_MAP_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H264_QUANTIZATION_MAP_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_H265_QUANTIZATION_MAP_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_FORMAT_H265_QUANTIZATION_MAP_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_AV1_QUANTIZATION_MAP_CAPABILITIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_FORMAT_AV1_QUANTIZATION_MAP_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_RELAXED_EXTENDED_INSTRUCTION_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_7_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_PROPERTIES_LIST_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_API_VULKAN_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_BARRIER_ACCESS_FLAGS_3_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_8_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FMA_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_9_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_9_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUEUE_FAMILY_OWNERSHIP_TRANSFER_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_MAINTENANCE_2_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_INLINE_SESSION_PARAMETERS_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_H265_INLINE_SESSION_PARAMETERS_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_INLINE_SESSION_PARAMETERS_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_ZERO_ONE_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_10_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_10_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_FLAGS_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RESOLVE_IMAGE_MODE_INFO_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_CU_MODULE_TEXTURING_MODE_CREATE_INFO_NVX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_ATTRIBUTES_INFO_NVX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RELAXED_LINE_RASTERIZATION_FEATURES_IMG: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_ANDROID_KHR case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_2_ANDROID: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_ANDROID_KHR #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ENQUEUE_FEATURES_AMDX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ENQUEUE_PROPERTIES_AMDX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_NODE_CREATE_INFO_AMDX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_SHADER_DESCRIPTOR_SET_AND_BINDING_MAPPING_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_OPAQUE_CAPTURE_DATA_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_DESCRIPTOR_HEAP_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_INDEX_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_PUSH_DATA_TOKEN_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SUBSAMPLED_IMAGE_FORMAT_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_HEAP_TENSOR_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ATTACHMENT_SAMPLE_COUNT_INFO_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_2_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_CONVERSION_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_GGP case VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_GGP case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_2_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_TIMING_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PRESENT_TIMING_SURFACE_CAPABILITIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_CALIBRATED_TIMESTAMP_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PRESENT_TIMINGS_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_QUERY_CREATE_INFO_INTEL: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDERING_FRAGMENT_DENSITY_MAP_ATTACHMENT_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_PROVOKING_VERTEX_STATE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_WIN32_KHR case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAP_MEMORY_PLACED_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_MAP_PLACED_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_SHADER_GROUPS_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INHERITED_VIEWPORT_SCISSOR_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_VIEWPORT_SCISSOR_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_TRANSFORM_BEGIN_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_BIAS_CONTROL_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEPTH_BIAS_REPRESENTATION_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_BARRIER_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_PRESENT_BARRIER_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_PRESENT_BARRIER_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DIAGNOSTICS_CONFIG_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_SHADING_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_SHADING_PROPERTIES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_TILE_SHADING_CREATE_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_QUERY_LOW_LATENCY_SUPPORT_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_METAL_EXT case VK_STRUCTURE_TYPE_EXPORT_METAL_OBJECT_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_METAL_DEVICE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_METAL_COMMAND_QUEUE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_METAL_BUFFER_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_METAL_BUFFER_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_METAL_TEXTURE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_METAL_TEXTURE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_METAL_IO_SURFACE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_METAL_IO_SURFACE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_METAL_SHARED_EVENT_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_METAL_EXT case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_DENSITY_MAP_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DESCRIPTOR_BUFFER_BINDING_PUSH_DESCRIPTOR_BUFFER_HANDLE_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_OPAQUE_CAPTURE_DESCRIPTOR_DATA_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_LIBRARY_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_EARLY_AND_LATE_FRAGMENT_TESTS_FEATURES_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADING_RATE_ENUMS_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_SHADING_RATE_ENUM_STATE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_MOTION_TRIANGLES_DATA_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MOTION_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_MOTION_BLUR_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_2_PLANE_444_FORMATS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_2_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_CONTROL_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_4444_FORMATS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RASTERIZATION_ORDER_ATTACHMENT_ACCESS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RGBA10X6_FORMATS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MUTABLE_DESCRIPTOR_TYPE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MUTABLE_DESCRIPTOR_TYPE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_INPUT_DYNAMIC_STATE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRM_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ADDRESS_BINDING_REPORT_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_ADDRESS_BINDING_CALLBACK_DATA_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLIP_CONTROL_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_TOPOLOGY_LIST_RESTART_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_FUCHSIA case VK_STRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_MEMORY_BUFFER_COLLECTION_FUCHSIA: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BUFFER_COLLECTION_IMAGE_CREATE_INFO_FUCHSIA: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BUFFER_COLLECTION_BUFFER_CREATE_INFO_FUCHSIA: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_FUCHSIA case VK_STRUCTURE_TYPE_SUBPASS_SHADING_PIPELINE_CREATE_INFO_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_FEATURES_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_SHADING_PROPERTIES_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INVOCATION_MASK_FEATURES_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_PROPERTIES_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAME_BOUNDARY_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_FRAME_BOUNDARY_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SUBPASS_RESOLVE_PERFORMANCE_QUERY_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MULTISAMPLED_RENDER_TO_SINGLE_SAMPLED_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_2_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COLOR_WRITE_ENABLE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_COLOR_WRITE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVES_GENERATED_QUERY_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_RGB_CONVERSION_FEATURES_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_RGB_CONVERSION_CAPABILITIES_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_PROFILE_RGB_CONVERSION_INFO_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_RGB_CONVERSION_CREATE_INFO_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_TILE_IMAGE_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_OPACITY_MICROMAP_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISPLACEMENT_MICROMAP_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_TRIANGLES_DISPLACEMENT_MICROMAP_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_VRS_FEATURES_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_BORDER_COLOR_COMPONENT_MAPPING_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PAGEABLE_DEVICE_LOCAL_MEMORY_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DEVICE_QUEUE_SHADER_CORE_CONTROL_CREATE_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_SLICED_VIEW_OF_3D_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_VIEW_SLICED_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_SET_HOST_MAPPING_FEATURES_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_NON_SEAMLESS_CUBE_MAP_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RENDER_PASS_STRIPED_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_STRIPE_BEGIN_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_STRIPE_SUBMIT_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_OFFSET_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_OFFSET_END_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_DECOMPRESSION_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_COMPUTE_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_INDIRECT_BUFFER_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_LINEAR_SWEPT_SPHERES_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_LINEAR_SWEPT_SPHERES_DATA_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_SPHERES_DATA_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINEAR_COLOR_ATTACHMENT_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_COMPRESSION_CONTROL_SWAPCHAIN_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_VIEW_SAMPLE_WEIGHT_CREATE_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_PROPERTIES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_NESTED_COMMAND_BUFFER_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_OHOS case VK_STRUCTURE_TYPE_NATIVE_BUFFER_USAGE_OHOS: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_NATIVE_BUFFER_FORMAT_PROPERTIES_OHOS: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_NATIVE_BUFFER_INFO_OHOS: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_OHOS: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_OHOS case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_ACQUIRE_UNMODIFIED_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_DYNAMIC_STATE_3_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBPASS_MERGE_FEEDBACK_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_CREATION_CONTROL_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_CREATION_FEEDBACK_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_SUBPASS_FEEDBACK_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DIRECT_DRIVER_LOADING_LIST_LUNARG: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TENSOR_DESCRIPTION_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_TENSOR_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TENSOR_FORMAT_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TENSOR_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TENSOR_MEMORY_BARRIER_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TENSOR_DEPENDENCY_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TENSOR_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_TENSOR_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_TENSOR_CREATE_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_TENSOR_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_BUFFER_TENSOR_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DESCRIPTOR_GET_TENSOR_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_FRAME_BOUNDARY_TENSORS_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MODULE_IDENTIFIER_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_MODULE_IDENTIFIER_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPTICAL_FLOW_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_OPTICAL_FLOW_IMAGE_FORMAT_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_OPTICAL_FLOW_SESSION_CREATE_PRIVATE_DATA_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_DITHERING_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_ANDROID_KHR case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_PROPERTIES_ANDROID: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_RESOLVE_PROPERTIES_ANDROID: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_ANDROID_KHR case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DENSE_GEOMETRY_FORMAT_FEATURES_AMDX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_DENSE_GEOMETRY_FORMAT_TRIANGLES_DATA_AMDX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_PROPERTIES_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_AMIGO_PROFILING_FEATURES_SEC: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_AMIGO_PROFILING_SUBMIT_INFO_SEC: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_VIEWPORTS_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_VECTOR_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_VECTOR_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTENDED_SPARSE_ADDRESS_SPACE_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LEGACY_VERTEX_ATTRIBUTES_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_LATENCY_SUBMISSION_PRESENT_ID_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SWAPCHAIN_LATENCY_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_LATENCY_SURFACE_CAPABILITIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_COMPILER_CONTROL_CREATE_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SHADER_MODULE_CREATE_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_IDENTIFIER_CREATE_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DATA_GRAPH_PROCESSING_ENGINE_CREATE_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_CONSTANT_TENSOR_SEMI_STRUCTURED_SPARSITY_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_RENDER_AREAS_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_MULTIVIEW_PER_VIEW_RENDER_AREAS_RENDER_PASS_BEGIN_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PER_STAGE_DESCRIPTOR_SET_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_2_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_PROCESSING_2_PROPERTIES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_BLOCK_MATCH_WINDOW_CREATE_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_CUBIC_WEIGHTS_CREATE_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_BLIT_IMAGE_CUBIC_WEIGHTS_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_DEGAMMA_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_YCBCR_DEGAMMA_CREATE_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUBIC_CLAMP_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_SCREEN_QNX case VK_STRUCTURE_TYPE_SCREEN_BUFFER_FORMAT_PROPERTIES_QNX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMPORT_SCREEN_BUFFER_INFO_QNX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_QNX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCREEN_BUFFER_FEATURES_QNX: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_SCREEN_QNX case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LAYERED_DRIVER_PROPERTIES_MSFT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_POOL_OVERALLOCATION_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_MEMORY_HEAP_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TILE_MEMORY_HEAP_PROPERTIES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TILE_MEMORY_REQUIREMENTS_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TILE_MEMORY_BIND_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_TILE_MEMORY_SIZE_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DISPLAY_SURFACE_STEREO_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DISPLAY_MODE_STEREO_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAW_ACCESS_CHAINS_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_EXTERNAL_COMPUTE_QUEUE_DEVICE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_COMPUTE_QUEUE_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMMAND_BUFFER_INHERITANCE_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT16_VECTOR_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_REPLICATED_COMPOSITES_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT8_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_VALIDATION_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_ACCELERATION_STRUCTURE_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_ACCELERATION_STRUCTURE_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CLUSTER_ACCELERATION_STRUCTURE_CREATE_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PARTITIONED_ACCELERATION_STRUCTURE_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PARTITIONED_ACCELERATION_STRUCTURE_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PARTITIONED_ACCELERATION_STRUCTURE_FLAGS_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_PARTITIONED_ACCELERATION_STRUCTURE_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_GENERATED_COMMANDS_PIPELINE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_GENERATED_COMMANDS_SHADER_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_FEATURES_MESA: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_ALIGNMENT_CONTROL_PROPERTIES_MESA: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_IMAGE_ALIGNMENT_CONTROL_CREATE_INFO_MESA: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PUSH_CONSTANT_BANK_INFO_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_CONSTANT_BANK_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_CONSTANT_BANK_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_INVOCATION_REORDER_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLAMP_CONTROL_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_DEPTH_CLAMP_CONTROL_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HDR_VIVID_FEATURES_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_HDR_VIVID_DYNAMIC_METADATA_HUAWEI: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_2_PROPERTIES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_OPACITY_MICROMAP_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_USE_PLATFORM_METAL_EXT case VK_STRUCTURE_TYPE_IMPORT_MEMORY_METAL_HANDLE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_USE_PLATFORM_METAL_EXT case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_COUNTERS_BY_REGION_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_COUNTERS_BY_REGION_PROPERTIES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_RENDER_PASS_PERFORMANCE_COUNTERS_BY_REGION_BEGIN_INFO_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_ROBUSTNESS_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FORMAT_PACK_FEATURES_ARM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_LAYERED_FEATURES_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_LAYERED_PROPERTIES_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PIPELINE_FRAGMENT_DENSITY_MAP_LAYERED_CREATE_INFO_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #ifdef VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; #endif // VK_ENABLE_BETA_EXTENSIONS case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_DEVICE_MEMORY_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_64_BIT_INDEXING_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_RESOLVE_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_CUSTOM_RESOLVE_CREATE_INFO_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_BUILTIN_MODEL_CREATE_INFO_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_MODEL_FEATURES_QCOM: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_LONG_VECTOR_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CACHE_INCREMENTAL_MODE_FEATURES_SEC: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_MIXED_FLOAT_DOT_PRODUCT_FEATURES_VALVE: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); + break; + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_DRM_SYNCOBJ_FEATURES_EXT: + PnextChainFree(header->pNext); + header->pNext = nullptr; + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PIPELINE_PROPERTIES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_QUERY_FEATURES_KHR: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_EXT: PnextChainFree(header->pNext); header->pNext = nullptr; - delete reinterpret_cast(header); + delete reinterpret_cast(header); break; default: assert(false); @@ -3905,12 +3910,12 @@ void PnextChainFree(void *chain) { } template <> -void *PnextChainExtract(const void *in_pnext_chain, PnextChainVkPhysicalDeviceImageFormatInfo2 &out) { - void *chain_begin = nullptr; - void *chain_end = nullptr; +void* PnextChainExtract(const void* in_pnext_chain, PnextChainVkPhysicalDeviceImageFormatInfo2& out) { + void* chain_begin = nullptr; + void* chain_end = nullptr; - if (auto *chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { - auto &out_chain_struct = std::get(out); + if (auto* chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { + auto& out_chain_struct = std::get(out); out_chain_struct = *chain_struct; out_chain_struct.pNext = nullptr; if (!chain_begin) { @@ -3921,8 +3926,8 @@ void *PnextChainExtract(const void *in_pnext_chain, PnextChainVkPhysicalDeviceIm } } - if (auto *chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { - auto &out_chain_struct = std::get(out); + if (auto* chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { + auto& out_chain_struct = std::get(out); out_chain_struct = *chain_struct; out_chain_struct.pNext = nullptr; if (!chain_begin) { @@ -3933,8 +3938,8 @@ void *PnextChainExtract(const void *in_pnext_chain, PnextChainVkPhysicalDeviceIm } } - if (auto *chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { - auto &out_chain_struct = std::get(out); + if (auto* chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { + auto& out_chain_struct = std::get(out); out_chain_struct = *chain_struct; out_chain_struct.pNext = nullptr; if (!chain_begin) { @@ -3945,8 +3950,8 @@ void *PnextChainExtract(const void *in_pnext_chain, PnextChainVkPhysicalDeviceIm } } - if (auto *chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { - auto &out_chain_struct = std::get(out); + if (auto* chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { + auto& out_chain_struct = std::get(out); out_chain_struct = *chain_struct; out_chain_struct.pNext = nullptr; if (!chain_begin) { @@ -3957,8 +3962,8 @@ void *PnextChainExtract(const void *in_pnext_chain, PnextChainVkPhysicalDeviceIm } } - if (auto *chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { - auto &out_chain_struct = std::get(out); + if (auto* chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { + auto& out_chain_struct = std::get(out); out_chain_struct = *chain_struct; out_chain_struct.pNext = nullptr; if (!chain_begin) { @@ -3969,8 +3974,8 @@ void *PnextChainExtract(const void *in_pnext_chain, PnextChainVkPhysicalDeviceIm } } - if (auto *chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { - auto &out_chain_struct = std::get(out); + if (auto* chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { + auto& out_chain_struct = std::get(out); out_chain_struct = *chain_struct; out_chain_struct.pNext = nullptr; if (!chain_begin) { @@ -3981,8 +3986,8 @@ void *PnextChainExtract(const void *in_pnext_chain, PnextChainVkPhysicalDeviceIm } } - if (auto *chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { - auto &out_chain_struct = std::get(out); + if (auto* chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { + auto& out_chain_struct = std::get(out); out_chain_struct = *chain_struct; out_chain_struct.pNext = nullptr; if (!chain_begin) { @@ -3993,8 +3998,8 @@ void *PnextChainExtract(const void *in_pnext_chain, PnextChainVkPhysicalDeviceIm } } - if (auto *chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { - auto &out_chain_struct = std::get(out); + if (auto* chain_struct = vku::FindStructInPNextChain(in_pnext_chain)) { + auto& out_chain_struct = std::get(out); out_chain_struct = *chain_struct; out_chain_struct.pNext = nullptr; if (!chain_begin) { diff --git a/layers/vulkan/generated/pnext_chain_extraction.h b/layers/vulkan/generated/pnext_chain_extraction.h index a3dfa3e029c..8e73a95eb03 100644 --- a/layers/vulkan/generated/pnext_chain_extraction.h +++ b/layers/vulkan/generated/pnext_chain_extraction.h @@ -32,22 +32,22 @@ namespace vvl { // Add element to the end of a pNext chain -void *PnextChainAdd(void *chain, void *new_struct); +void* PnextChainAdd(void* chain, void* new_struct); // Remove last element from a pNext chain -void PnextChainRemoveLast(void *chain); +void PnextChainRemoveLast(void* chain); // Free dynamically allocated pnext chain structs -void PnextChainFree(void *chain); +void PnextChainFree(void* chain); // Helper class relying on RAII to help with adding and removing an element from a pNext chain class PnextChainScopedAdd { public: - PnextChainScopedAdd(void *chain, void *new_struct) : chain(chain) { PnextChainAdd(chain, new_struct); } + PnextChainScopedAdd(void* chain, void* new_struct) : chain(chain) { PnextChainAdd(chain, new_struct); } ~PnextChainScopedAdd() { PnextChainRemoveLast(chain); } private: - void *chain = nullptr; + void* chain = nullptr; }; // clang-format off diff --git a/layers/vulkan/generated/spirv_validation_helper.cpp b/layers/vulkan/generated/spirv_validation_helper.cpp index 885583913a9..2aed204ad84 100644 --- a/layers/vulkan/generated/spirv_validation_helper.cpp +++ b/layers/vulkan/generated/spirv_validation_helper.cpp @@ -45,14 +45,14 @@ struct FeaturePointer { // Default and nullptr constructor to create an empty FeaturePointer FeaturePointer() : IsEnabled(nullptr) {} FeaturePointer(std::nullptr_t ptr) : IsEnabled(nullptr) {} - FeaturePointer(bool DeviceFeatures::*ptr) : IsEnabled([=](const DeviceFeatures& features) { return features.*ptr; }) {} + FeaturePointer(bool DeviceFeatures::* ptr) : IsEnabled([=](const DeviceFeatures& features) { return features.*ptr; }) {} }; // Each instance of the struct will only have a singel field non-null struct RequiredSpirvInfo { uint32_t version; FeaturePointer feature; - ExtEnabled DeviceExtensions::*extension; + ExtEnabled DeviceExtensions::* extension; const char* property; // For human readability and make some capabilities unique }; diff --git a/layers/vulkan/generated/stateless_validation_helper.cpp b/layers/vulkan/generated/stateless_validation_helper.cpp index 62edcf67c7c..2f25965daee 100644 --- a/layers/vulkan/generated/stateless_validation_helper.cpp +++ b/layers/vulkan/generated/stateless_validation_helper.cpp @@ -3443,6 +3443,18 @@ bool Context::ValidatePnextFeatureStructContents(const Location& loc, const VkBa } } break; + // Validation code for VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT structure members + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_DRM_SYNCOBJ_FEATURES_EXT: { // Covers + // VUID-VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT-sType-sType + if (is_const_param) { + [[maybe_unused]] const Location pNext_loc = + loc.pNext(Struct::VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT); + VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT* structure = + (VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT*)header; + skip |= ValidateBool32(pNext_loc.dot(Field::externalSemaphoreDrmSyncobj), structure->externalSemaphoreDrmSyncobj); + } + } break; + // Validation code for VkPhysicalDeviceAccelerationStructureFeaturesKHR structure members case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ACCELERATION_STRUCTURE_FEATURES_KHR: { // Covers // VUID-VkPhysicalDeviceAccelerationStructureFeaturesKHR-sType-sType @@ -8573,7 +8585,7 @@ bool Instance::PreCallValidateCreateDevice(VkPhysicalDevice physicalDevice, cons "VUID-vkCreateDevice-pCreateInfo-parameter", "VUID-VkDeviceCreateInfo-sType-sType"); if (pCreateInfo != nullptr) { [[maybe_unused]] const Location pCreateInfo_loc = loc.dot(Field::pCreateInfo); - constexpr std::array allowed_structs_VkDeviceCreateInfo = { + constexpr std::array allowed_structs_VkDeviceCreateInfo = { VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT, VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV, VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO, @@ -8650,6 +8662,7 @@ bool Instance::PreCallValidateCreateDevice(VkPhysicalDevice physicalDevice, cons VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FORMAT_RESOLVE_FEATURES_ANDROID, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_RDMA_FEATURES_NV, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCREEN_BUFFER_FEATURES_QNX, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_DRM_SYNCOBJ_FEATURES_EXT, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FAULT_FEATURES_EXT, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FORMAT_PACK_FEATURES_ARM, diff --git a/layers/vulkan/generated/test_icd_helper.h b/layers/vulkan/generated/test_icd_helper.h index ffb8dc3ae0f..a2c32ecad35 100644 --- a/layers/vulkan/generated/test_icd_helper.h +++ b/layers/vulkan/generated/test_icd_helper.h @@ -553,6 +553,7 @@ static const std::unordered_map device_extension_map = { {VK_NV_COMPUTE_OCCUPANCY_PRIORITY_EXTENSION_NAME, VK_NV_COMPUTE_OCCUPANCY_PRIORITY_SPEC_VERSION}, {VK_EXT_SHADER_SUBGROUP_PARTITIONED_EXTENSION_NAME, VK_EXT_SHADER_SUBGROUP_PARTITIONED_SPEC_VERSION}, {VK_VALVE_SHADER_MIXED_FLOAT_DOT_PRODUCT_EXTENSION_NAME, VK_VALVE_SHADER_MIXED_FLOAT_DOT_PRODUCT_SPEC_VERSION}, + {VK_EXT_EXTERNAL_SEMAPHORE_DRM_SYNCOBJ_EXTENSION_NAME, VK_EXT_EXTERNAL_SEMAPHORE_DRM_SYNCOBJ_SPEC_VERSION}, {VK_KHR_ACCELERATION_STRUCTURE_EXTENSION_NAME, VK_KHR_ACCELERATION_STRUCTURE_SPEC_VERSION}, {VK_KHR_RAY_TRACING_PIPELINE_EXTENSION_NAME, VK_KHR_RAY_TRACING_PIPELINE_SPEC_VERSION}, {VK_KHR_RAY_QUERY_EXTENSION_NAME, VK_KHR_RAY_QUERY_SPEC_VERSION}, diff --git a/layers/vulkan/generated/valid_flag_values.cpp b/layers/vulkan/generated/valid_flag_values.cpp index 085bc2a9d2f..8b5c6a35135 100644 --- a/layers/vulkan/generated/valid_flag_values.cpp +++ b/layers/vulkan/generated/valid_flag_values.cpp @@ -1040,6 +1040,12 @@ vvl::Extensions stateless::Context::IsValidFlagValue(vvl::FlagBitmask flag_bitma return {vvl::Extension::_VK_FUCHSIA_external_semaphore}; } } + if (value & (VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_DRM_SYNCOBJ_BIT_EXT)) { + if ((instance_function && !IsExtSupported(extensions.vk_ext_external_semaphore_drm_syncobj)) || + (!instance_function && !IsExtEnabled(extensions.vk_ext_external_semaphore_drm_syncobj))) { + return {vvl::Extension::_VK_EXT_external_semaphore_drm_syncobj}; + } + } return {}; case vvl::FlagBitmask::VkResolveModeFlagBits: if (value & (VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID)) { diff --git a/layers/vulkan/generated/vk_extension_helper.cpp b/layers/vulkan/generated/vk_extension_helper.cpp index b1cf61f4105..a5b2830c9ed 100644 --- a/layers/vulkan/generated/vk_extension_helper.cpp +++ b/layers/vulkan/generated/vk_extension_helper.cpp @@ -469,6 +469,7 @@ vvl::Extension GetExtension(std::string extension) { {"VK_EXT_shader_subgroup_partitioned", vvl::Extension::_VK_EXT_shader_subgroup_partitioned}, {"VK_SEC_ubm_surface", vvl::Extension::_VK_SEC_ubm_surface}, {"VK_VALVE_shader_mixed_float_dot_product", vvl::Extension::_VK_VALVE_shader_mixed_float_dot_product}, + {"VK_EXT_external_semaphore_drm_syncobj", vvl::Extension::_VK_EXT_external_semaphore_drm_syncobj}, {"VK_KHR_acceleration_structure", vvl::Extension::_VK_KHR_acceleration_structure}, {"VK_KHR_ray_tracing_pipeline", vvl::Extension::_VK_KHR_ray_tracing_pipeline}, {"VK_KHR_ray_query", vvl::Extension::_VK_KHR_ray_query}, @@ -2132,6 +2133,9 @@ static const DeviceExtensionsInfoMap& GetDeviceInfoMap() { Info(&DeviceExtensions::vk_valve_shader_mixed_float_dot_product, {{{&DeviceExtensions::vk_khr_get_physical_device_properties2, VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME}, {&DeviceExtensions::vk_khr_shader_float16_int8, VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME}}})}, + {vvl::Extension::_VK_EXT_external_semaphore_drm_syncobj, + Info(&DeviceExtensions::vk_ext_external_semaphore_drm_syncobj, + {{{&DeviceExtensions::vk_feature_version_1_2, "VK_VERSION_1_2"}}})}, {vvl::Extension::_VK_KHR_acceleration_structure, Info(&DeviceExtensions::vk_khr_acceleration_structure, {{{&DeviceExtensions::vk_feature_version_1_1, "VK_VERSION_1_1"}, diff --git a/layers/vulkan/generated/vk_extension_helper.h b/layers/vulkan/generated/vk_extension_helper.h index 701b029ae98..072269bf9f7 100644 --- a/layers/vulkan/generated/vk_extension_helper.h +++ b/layers/vulkan/generated/vk_extension_helper.h @@ -51,9 +51,9 @@ enum ExtEnabled : unsigned char { // Map of promoted extension information per version (a separate map exists for instance and device extensions). // The map is keyed by the version number (e.g. VK_API_VERSION_1_1) and each value is a pair consisting of the // version string (e.g. "VK_VERSION_1_1") and the set of name of the promoted extensions. -typedef vvl::unordered_map>> PromotedExtensionInfoMap; -const PromotedExtensionInfoMap &GetInstancePromotionInfoMap(); -const PromotedExtensionInfoMap &GetDevicePromotionInfoMap(); +typedef vvl::unordered_map>> PromotedExtensionInfoMap; +const PromotedExtensionInfoMap& GetInstancePromotionInfoMap(); +const PromotedExtensionInfoMap& GetDevicePromotionInfoMap(); /* This function is a helper to know if the extension is enabled. @@ -135,21 +135,21 @@ struct InstanceExtensions { ExtEnabled vk_sec_ubm_surface{kNotSupported}; struct Requirement { - const ExtEnabled InstanceExtensions::*enabled; - const char *name; + const ExtEnabled InstanceExtensions::* enabled; + const char* name; }; typedef std::vector RequirementVec; struct Info { - Info(ExtEnabled InstanceExtensions::*state_, const RequirementVec requirements_) + Info(ExtEnabled InstanceExtensions::* state_, const RequirementVec requirements_) : state(state_), requirements(requirements_) {} - ExtEnabled InstanceExtensions::*state; + ExtEnabled InstanceExtensions::* state; RequirementVec requirements; }; - const Info &GetInfo(vvl::Extension extension_name) const; + const Info& GetInfo(vvl::Extension extension_name) const; InstanceExtensions() = default; - InstanceExtensions(APIVersion requested_api_version, const VkInstanceCreateInfo *pCreateInfo); + InstanceExtensions(APIVersion requested_api_version, const VkInstanceCreateInfo* pCreateInfo); }; struct DeviceExtensions : public InstanceExtensions { @@ -556,36 +556,37 @@ struct DeviceExtensions : public InstanceExtensions { ExtEnabled vk_nv_compute_occupancy_priority{kNotSupported}; ExtEnabled vk_ext_shader_subgroup_partitioned{kNotSupported}; ExtEnabled vk_valve_shader_mixed_float_dot_product{kNotSupported}; + ExtEnabled vk_ext_external_semaphore_drm_syncobj{kNotSupported}; ExtEnabled vk_khr_acceleration_structure{kNotSupported}; ExtEnabled vk_khr_ray_tracing_pipeline{kNotSupported}; ExtEnabled vk_khr_ray_query{kNotSupported}; ExtEnabled vk_ext_mesh_shader{kNotSupported}; struct Requirement { - const ExtEnabled DeviceExtensions::*enabled; - const char *name; + const ExtEnabled DeviceExtensions::* enabled; + const char* name; }; typedef std::vector RequirementVec; struct Info { - Info(ExtEnabled DeviceExtensions::*state_, const RequirementVec requirements_) + Info(ExtEnabled DeviceExtensions::* state_, const RequirementVec requirements_) : state(state_), requirements(requirements_) {} - ExtEnabled DeviceExtensions::*state; + ExtEnabled DeviceExtensions::* state; RequirementVec requirements; }; - const Info &GetInfo(vvl::Extension extension_name) const; + const Info& GetInfo(vvl::Extension extension_name) const; DeviceExtensions() = default; - DeviceExtensions(const InstanceExtensions &instance_ext) : InstanceExtensions(instance_ext) {} + DeviceExtensions(const InstanceExtensions& instance_ext) : InstanceExtensions(instance_ext) {} - DeviceExtensions(const InstanceExtensions &instance_extensions, APIVersion requested_api_version, - const VkDeviceCreateInfo *pCreateInfo = nullptr); - DeviceExtensions(const InstanceExtensions &instance_ext, APIVersion requested_api_version, - const std::vector &props); + DeviceExtensions(const InstanceExtensions& instance_extensions, APIVersion requested_api_version, + const VkDeviceCreateInfo* pCreateInfo = nullptr); + DeviceExtensions(const InstanceExtensions& instance_ext, APIVersion requested_api_version, + const std::vector& props); }; -const InstanceExtensions::Info &GetInstanceVersionMap(const char *version); -const DeviceExtensions::Info &GetDeviceVersionMap(const char *version); +const InstanceExtensions::Info& GetInstanceVersionMap(const char* version); +const DeviceExtensions::Info& GetDeviceVersionMap(const char* version); constexpr bool IsInstanceExtension(vvl::Extension extension) { switch (extension) { @@ -1039,6 +1040,7 @@ constexpr bool IsDeviceExtension(vvl::Extension extension) { case vvl::Extension::_VK_NV_compute_occupancy_priority: case vvl::Extension::_VK_EXT_shader_subgroup_partitioned: case vvl::Extension::_VK_VALVE_shader_mixed_float_dot_product: + case vvl::Extension::_VK_EXT_external_semaphore_drm_syncobj: case vvl::Extension::_VK_KHR_acceleration_structure: case vvl::Extension::_VK_KHR_ray_tracing_pipeline: case vvl::Extension::_VK_KHR_ray_query: diff --git a/scripts/known_good.json b/scripts/known_good.json index ada7ca681d5..46e5a09ffd0 100644 --- a/scripts/known_good.json +++ b/scripts/known_good.json @@ -3,19 +3,19 @@ { "name": "Vulkan-Headers", "api": "vulkan", - "url": "https://github.com/KhronosGroup/Vulkan-Headers.git", + "url": "https://github.com/mahkoh/Vulkan-Headers.git", "sub_dir": "Vulkan-Headers", "build_dir": "Vulkan-Headers/build", "install_dir": "Vulkan-Headers/build/install", - "commit": "v1.4.344" + "commit": "jorth/syncobj" }, { "name": "Vulkan-Utility-Libraries", - "url": "https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git", + "url": "https://github.com/mahkoh/Vulkan-Utility-Libraries.git", "sub_dir": "Vulkan-Utility-Libraries", "build_dir": "Vulkan-Utility-Libraries/build", "install_dir": "Vulkan-Utility-Libraries/build/install", - "commit": "v1.4.344", + "commit": "jorth/syncobj", "deps": [ { "var_name": "VULKAN_HEADERS_INSTALL_DIR", diff --git a/tests/device_profiles/max_profile.json b/tests/device_profiles/max_profile.json index 19614e20c5a..15c8c204df3 100644 --- a/tests/device_profiles/max_profile.json +++ b/tests/device_profiles/max_profile.json @@ -1158,6 +1158,9 @@ "presentTiming": true, "presentAtAbsoluteTime": true, "presentAtRelativeTime": true + }, + "VkPhysicalDeviceExternalSemaphoreDrmSyncobjFeaturesEXT": { + "externalSemaphoreDrmSyncobj": true } }, "properties": { @@ -2750,7 +2753,8 @@ "VK_VALVE_fragment_density_map_layered": 1, "VK_VALVE_video_encode_rgb_conversion": 1, "VK_EXT_image_sliced_view_of_3d": 1, - "VK_EXT_dynamic_rendering_unused_attachments": 1 + "VK_EXT_dynamic_rendering_unused_attachments": 1, + "VK_EXT_external_semaphore_drm_syncobj": 1 }, "formats": { "VK_FORMAT_UNDEFINED": { @@ -11236,4 +11240,4 @@ ] } } -} \ No newline at end of file +}