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

Commit ee6e379e authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

[RESTRICT AUTOMERGE] libvulkan: drop the advertised swapchain spec version to 68

Bug: 130182551
Test: build and CtsDeqpTestCases
Change-Id: If8b7e59879c9eaf1ee453cb43f2d4a7f06bf0ac9
parent 181e024f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -945,7 +945,9 @@ VkResult EnumerateDeviceExtensionProperties(

            memcpy(prop.extensionName, VK_KHR_SWAPCHAIN_EXTENSION_NAME,
                   sizeof(VK_KHR_SWAPCHAIN_EXTENSION_NAME));
            prop.specVersion = VK_KHR_SWAPCHAIN_SPEC_VERSION;
            // b/130182551 VK_KHR_SWAPCHAIN_SPEC_VERSION > 68 has structs the
            // loader doesn't handle properly. So drop the spec version to 68.
            prop.specVersion = 68;
        }
    }