From f3e9f0e9a64266b8cd83ce267c7415f525a84223 Mon Sep 17 00:00:00 2001 From: Bo Hu Date: Mon, 9 Jun 2025 15:51:09 -0700 Subject: [PATCH] gfxstream: update codegen for vkQueueFlushCommandsGOOGLE This method requires removal of obsolete recording Reviewed-by: Aaron Ruby Reviewed-by: Marcin Radomski Part-of: --- src/gfxstream/codegen/scripts/cereal/decodersnapshot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gfxstream/codegen/scripts/cereal/decodersnapshot.py b/src/gfxstream/codegen/scripts/cereal/decodersnapshot.py index f3c7fe08650..0d8095fc828 100644 --- a/src/gfxstream/codegen/scripts/cereal/decodersnapshot.py +++ b/src/gfxstream/codegen/scripts/cereal/decodersnapshot.py @@ -348,6 +348,7 @@ def api_special_implementation_vkResetCommandBuffer(api, cgen): def api_special_implementation_vkQueueFlushCommandsGOOGLE(api, cgen): api_special_implementation_common(api, cgen, "Tag_VkCmdOp") + cgen.stmt("mReconstruction.removeDescendantsOfHandle((uint64_t)(uintptr_t)commandBuffer)") cgen.stmt("mReconstruction.addHandleDependency((const uint64_t*)(&handle), 1, (uint64_t)(uintptr_t)commandBuffer)") cgen.line("// Track that `handle` depends on previously tracked dependencies (e.g. the handle for this `vkQueueFlushCommandsGOOGLE()` call depends on the `VkPipeline` handle from `vkCmdBindPipeline()`).")