loader: Remove illegal asssignment
authorLenny Komow <lenny@lunarg.com>
Mon, 3 Aug 2020 21:17:48 +0000 (15:17 -0600)
committerLenny Komow <lenny@lunarg.com>
Fri, 14 Aug 2020 20:39:29 +0000 (14:39 -0600)
loader/loader.c

index 636fd9ff9135a6d83a89bbb3ceb665711e928587..5690ef08d90b243a014a8ef95769f76aaef2ff59 100644 (file)
@@ -7983,7 +7983,6 @@ VkResult setupLoaderTermPhysDevGroups(struct loader_instance *inst) {
     for (uint32_t icd_idx = 0; NULL != icd_term; icd_term = icd_term->next, icd_idx++) {
         uint32_t count_this_time = total_count - cur_icd_group_count;
 
-        local_phys_dev_groups[cur_icd_group_count].physicalDeviceCount = 0;
         // Check if this group can be sorted
 #if defined(VK_USE_PLATFORM_WIN32_KHR)
         bool icd_sorted = icd_term->scanned_icd->EnumerateAdapterPhysicalDevices != NULL;