gfxstream: update codegen for vkQueueFlushCommandsGOOGLE

This method requires removal of obsolete recording

Reviewed-by: Aaron Ruby <aruby@qnx.com>
Reviewed-by: Marcin Radomski <dextero@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35494>
This commit is contained in:
Bo Hu 2025-06-09 15:51:09 -07:00 committed by Gurchetan Singh
parent 7bfb51a7e6
commit f3e9f0e9a6

View file

@ -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()`).")