vulkan: take vkQueueSignalReleaseImageANDROIDAsyncGOOGLE encoder codegen
Bug: 193809913
Change-Id: I00b2cdb099797be87297f62311fd247c27fd0c61
diff --git a/system/vulkan_enc/func_table.cpp b/system/vulkan_enc/func_table.cpp
index dc3f66d..bf63470 100644
--- a/system/vulkan_enc/func_table.cpp
+++ b/system/vulkan_enc/func_table.cpp
@@ -7456,6 +7456,16 @@
auto vkEnc = ResourceTracker::getThreadLocalEncoder();
vkEnc->vkCollectDescriptorPoolIdsGOOGLE(device, descriptorPool, pPoolIdCount, pPoolIds, true /* do lock */);
}
+static void entry_vkQueueSignalReleaseImageANDROIDAsyncGOOGLE(
+ VkQueue queue,
+ uint32_t waitSemaphoreCount,
+ const VkSemaphore* pWaitSemaphores,
+ VkImage image)
+{
+ AEMU_SCOPED_TRACE("vkQueueSignalReleaseImageANDROIDAsyncGOOGLE");
+ auto vkEnc = ResourceTracker::getQueueEncoder(queue);
+ vkEnc->vkQueueSignalReleaseImageANDROIDAsyncGOOGLE(queue, waitSemaphoreCount, pWaitSemaphores, image, true /* do lock */);
+}
#endif
#ifdef VK_KHR_acceleration_structure
static VkResult entry_vkCreateAccelerationStructureKHR(
@@ -9924,6 +9934,10 @@
{
return nullptr;
}
+ if (!strcmp(name, "vkQueueSignalReleaseImageANDROIDAsyncGOOGLE"))
+ {
+ return nullptr;
+ }
#endif
#ifdef VK_KHR_acceleration_structure
if (!strcmp(name, "vkCreateAccelerationStructureKHR"))
@@ -12183,6 +12197,11 @@
{
return (void*)dynCheck_entry_vkCollectDescriptorPoolIdsGOOGLE;
}
+ if (!strcmp(name, "vkQueueSignalReleaseImageANDROIDAsyncGOOGLE"))
+ {
+ bool hasExt = resources->hasInstanceExtension(instance, "VK_GOOGLE_gfxstream");
+ return hasExt ? (void*)entry_vkQueueSignalReleaseImageANDROIDAsyncGOOGLE : nullptr;
+ }
#endif
#ifdef VK_KHR_acceleration_structure
if (!strcmp(name, "vkCreateAccelerationStructureKHR"))
@@ -14573,6 +14592,11 @@
bool hasExt = resources->hasDeviceExtension(device, "VK_GOOGLE_gfxstream");
return hasExt ? (void*)entry_vkCollectDescriptorPoolIdsGOOGLE : nullptr;
}
+ if (!strcmp(name, "vkQueueSignalReleaseImageANDROIDAsyncGOOGLE"))
+ {
+ bool hasExt = resources->hasDeviceExtension(device, "VK_GOOGLE_gfxstream");
+ return hasExt ? (void*)entry_vkQueueSignalReleaseImageANDROIDAsyncGOOGLE : nullptr;
+ }
#endif
#ifdef VK_KHR_acceleration_structure
if (!strcmp(name, "vkCreateAccelerationStructureKHR"))