commit | a731dda5b229f216356c9c2961fbd2ac7759ca87 | [log] [tgz] |
---|---|---|
author | Yilong Li <liyl@google.com> | Wed Jun 23 12:43:57 2021 -0700 |
committer | Yilong Li <liyl@google.com> | Wed Jun 23 12:43:57 2021 -0700 |
tree | b810a2c62a4b3504f0d75d0bc70ec1d51e4b53d5 | |
parent | 831f9f6b89598708d114468912c89282e803b73d [diff] |
vk: only set MemoryReportFeatures if it exists in the struct chain vkGetPhysicalDeviceProperties2() should only sets the VkPhysicalDeviceDeviceMemoryReportFeaturesEXT struct if it exists in the pProperties struct chain, otherwise it violates the Vulkan specs and could cause a memory leak. Change-Id: Icde88dfd7eab73b88513a1493c942119a6f064fc