From 8ce2501d2511b6f4e6389a03ff08c4e84d54fa25 Mon Sep 17 00:00:00 2001 From: spencer-lunarg Date: Wed, 22 Jan 2025 23:17:13 -0500 Subject: icd: Add VkPhysicalDeviceMaintenance3Properties --- icd/generated/function_definitions.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'icd/generated/function_definitions.h') diff --git a/icd/generated/function_definitions.h b/icd/generated/function_definitions.h index 0f79f18d..5b0034cc 100644 --- a/icd/generated/function_definitions.h +++ b/icd/generated/function_definitions.h @@ -1,5 +1,5 @@ /* -** Copyright (c) 2015-2024 The Khronos Group Inc. +** Copyright (c) 2015-2025 The Khronos Group Inc. ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. @@ -4030,6 +4030,12 @@ static VKAPI_ATTR void VKAPI_CALL GetPhysicalDeviceProperties2KHR( fragment_density_map2_props->maxDescriptorSetSubsampledSamplers = 1; } + auto *maintenance3_props = lvl_find_mod_in_chain(pProperties->pNext); + if (maintenance3_props) { + maintenance3_props->maxMemoryAllocationSize = 1073741824; + maintenance3_props->maxPerSetDescriptors = 1024; + } + const uint32_t num_copy_layouts = 5; const VkImageLayout HostCopyLayouts[]{ VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, -- cgit v1.2.3