From 35dd4b4fc23a7ffee261fe18bda1ea85532caf62 Mon Sep 17 00:00:00 2001 From: Serdar Kocdemir Date: Mon, 10 Feb 2025 00:17:10 +0000 Subject: [PATCH] gfxstream: Track more fence functions on host Add vkGetFenceStatus and vkWaitForFences functions to the global state tracking list for the host. This will allow adding more functionality to the fences and perform additional operations before waiting for and signaling them. Reviewed-by: Aaron Ruby Part-of: --- src/gfxstream/codegen/scripts/cereal/decoder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gfxstream/codegen/scripts/cereal/decoder.py b/src/gfxstream/codegen/scripts/cereal/decoder.py index 2b2cee5f21f..00b82b8124a 100644 --- a/src/gfxstream/codegen/scripts/cereal/decoder.py +++ b/src/gfxstream/codegen/scripts/cereal/decoder.py @@ -745,6 +745,8 @@ custom_decodes = { "vkDestroySemaphore" : emit_global_state_wrapped_decoding, "vkCreateFence" : emit_global_state_wrapped_decoding, + "vkGetFenceStatus" : emit_global_state_wrapped_decoding, + "vkWaitForFences" : emit_global_state_wrapped_decoding, "vkResetFences" : emit_global_state_wrapped_decoding, "vkDestroyFence" : emit_global_state_wrapped_decoding,