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);