From 10d402358cb5eac9d35bc66216eb77eddc6e9098 Mon Sep 17 00:00:00 2001 From: Kacper Zielinski Date: Wed, 28 Feb 2024 16:18:18 +0100 Subject: [PATCH] Add comments to differentiate `vkEnumeratePhysicalDeviceGroups` usages --- renderdoc/driver/vulkan/wrappers/vk_get_funcs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/renderdoc/driver/vulkan/wrappers/vk_get_funcs.cpp b/renderdoc/driver/vulkan/wrappers/vk_get_funcs.cpp index dc923fc9ce..7a7cf43476 100644 --- a/renderdoc/driver/vulkan/wrappers/vk_get_funcs.cpp +++ b/renderdoc/driver/vulkan/wrappers/vk_get_funcs.cpp @@ -920,13 +920,15 @@ VkResult WrappedVulkan::vkEnumeratePhysicalDeviceGroups( uint32_t physicalDevicesNumber = 0; vkEnumeratePhysicalDevices(instance, &physicalDevicesNumber, NULL); - // Return number of available device groups. + // vkEnumeratePhysicalDeviceGroups - Return number of available physical device groups. if(pPhysicalDeviceGroupProperties == NULL) { *pPhysicalDeviceGroupCount = physicalDevicesNumber; return VK_SUCCESS; } + // vkEnumeratePhysicalDeviceGroups - Query properties of available physical device groups. + // Number of physical device groups to query. *pPhysicalDeviceGroupCount = RDCMIN(*pPhysicalDeviceGroupCount, physicalDevicesNumber);