Wrap queue related functions on codegen

For multiple queue emulation, we need to change how queue related
functions are working on the host side and do custom unboxing
before submitting the commands to the underlying driver.

Reviewed-by: Marcin Radomski <dextero@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33018>
This commit is contained in:
Serdar Kocdemir
2024-11-18 11:19:30 +00:00
committed by Marge Bot
parent b8f38956a1
commit 456654f6ad

View File

@@ -642,11 +642,17 @@ custom_decodes = {
"vkBindBufferMemory2KHR" : emit_global_state_wrapped_decoding,
"vkCreateDevice" : emit_global_state_wrapped_decoding,
"vkGetDeviceQueue" : emit_global_state_wrapped_decoding,
"vkDestroyDevice" : emit_global_state_wrapped_decoding,
"vkGetDeviceQueue" : emit_global_state_wrapped_decoding,
"vkGetDeviceQueue2" : emit_global_state_wrapped_decoding,
"vkGetPhysicalDeviceQueueFamilyProperties" : emit_global_state_wrapped_decoding,
"vkGetPhysicalDeviceQueueFamilyProperties2" : emit_global_state_wrapped_decoding,
"vkQueueBindSparse" : emit_global_state_wrapped_decoding,
"vkQueuePresentKHR" : emit_global_state_wrapped_decoding,
"vkBindImageMemory" : emit_global_state_wrapped_decoding,
"vkBindImageMemory2" : emit_global_state_wrapped_decoding,
"vkBindImageMemory2KHR" : emit_global_state_wrapped_decoding,