Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a2b6282 authored by Yiwei Zhang's avatar Yiwei Zhang Committed by Automerger Merge Worker
Browse files

Merge "vkjson: fix VkPhysicalDeviceGroupProperties init" am: 97589e43

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1663846

Change-Id: Ic5ad67ce6be7a14db5f83c7e64baebd4ddcc5c1f
parents c97ad524 97589e43
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -433,6 +433,10 @@ VkJsonInstance VkJsonGetInstance() {
    VkJsonDeviceGroup device_group;
    std::vector<VkPhysicalDeviceGroupProperties> group_properties;
    group_properties.resize(count);
    for (auto& properties : group_properties) {
      properties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES;
      properties.pNext = nullptr;
    }
    result = (*vkpEnumeratePhysicalDeviceGroups)(vkinstance, &count,
                                                 group_properties.data());
    if (result != VK_SUCCESS) {