diff options
| author | spencer-lunarg <spencer@lunarg.com> | 2025-01-22 23:17:13 -0500 |
|---|---|---|
| committer | Spencer Fricke <115671160+spencer-lunarg@users.noreply.github.com> | 2025-01-23 08:48:40 -0500 |
| commit | 8ce2501d2511b6f4e6389a03ff08c4e84d54fa25 (patch) | |
| tree | fb96ad425ed4e87006e265fb1272c7bcb36eaf4f /icd/generated/function_definitions.h | |
| parent | 814b35a30bc6ee1c2c458bc08d20b8e11ebc510f (diff) | |
| download | usermoji-8ce2501d2511b6f4e6389a03ff08c4e84d54fa25.tar.xz | |
icd: Add VkPhysicalDeviceMaintenance3Properties
Diffstat (limited to 'icd/generated/function_definitions.h')
| -rw-r--r-- | icd/generated/function_definitions.h | 8 |
1 files changed, 7 insertions, 1 deletions
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<VkPhysicalDeviceMaintenance3Properties>(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, |
