gfxstream: wrap semaphore functions on the host

Codegen changes to be able to alter the behavior of vkSignalSemaphores
and vkWaitSemaphores calls on the host side.

Reviewed-by: Aaron Ruby <aruby@qnx.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34418>
This commit is contained in:
Serdar Kocdemir
2025-02-28 10:05:30 +00:00
committed by Marge Bot
parent af8b08281b
commit 425fe5edf8
@@ -744,11 +744,15 @@ custom_decodes = {
"vkAcquireImageANDROID" : emit_global_state_wrapped_decoding,
"vkQueueSignalReleaseImageANDROID" : emit_global_state_wrapped_decoding,
# Semaphores
"vkCreateSemaphore" : emit_global_state_wrapped_decoding,
"vkGetSemaphoreFdKHR" : emit_global_state_wrapped_decoding,
"vkImportSemaphoreFdKHR" : emit_global_state_wrapped_decoding,
"vkDestroySemaphore" : emit_global_state_wrapped_decoding,
"vkSignalSemaphore" : emit_global_state_wrapped_decoding,
"vkWaitSemaphores" : emit_global_state_wrapped_decoding,
# Fences
"vkCreateFence" : emit_global_state_wrapped_decoding,
"vkGetFenceStatus" : emit_global_state_wrapped_decoding,
"vkWaitForFences" : emit_global_state_wrapped_decoding,