From ff67b27f485a944963ce0a0e83e53b68f100701a Mon Sep 17 00:00:00 2001 From: Serdar Kocdemir Date: Fri, 22 May 2026 12:13:53 +0100 Subject: [PATCH] gfxstream: disallow maintenance6 extension due to serialization bugs VkBindMemoryStatus is using a pointer to VkResult but the value cannot be correctly encoded and decoded with the current code generator. Until the issues are fixed, the extension should not be used as it'll cause cts failures and invalid behavior. Test: dEQP-VK.memory.binding.maintenance6.* Reviewed-by: Gurchetan Singh Part-of: --- src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp b/src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp index 537473e5807..f4e72b6979c 100644 --- a/src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp +++ b/src/gfxstream/guest/vulkan_enc/ResourceTracker.cpp @@ -1878,7 +1878,8 @@ VkResult ResourceTracker::on_vkEnumerateDeviceExtensionProperties( // Android requirements "VK_EXT_pipeline_protected_access", - "VK_KHR_maintenance6", + // TODO(b/514638991): Serialization bugs in maintenance6 extension + // "VK_KHR_maintenance6", "VK_KHR_maintenance7", "VK_KHR_maintenance8", "VK_KHR_maintenance9",