gfxstream: Track sparse image related functions

Sparse resources are not commonly available on Android devices
and overriding the functions enables the host to disable the
feature support when needed.

Reviewed-by: Marcin Radomski <dextero@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35323>
This commit is contained in:
Serdar Kocdemir
2025-04-14 22:38:23 +01:00
committed by Marge Bot
parent 1d4b4fe8b7
commit 9ba070a398
@@ -837,6 +837,11 @@ custom_decodes = {
# VK_KHR_device_group_creation / VK_VERSION_1_1
"vkEnumeratePhysicalDeviceGroups" : emit_global_state_wrapped_decoding,
"vkEnumeratePhysicalDeviceGroupsKHR" : emit_global_state_wrapped_decoding,
# Sparse binding and formats (Support can be disabled from the host)
"vkGetPhysicalDeviceSparseImageFormatProperties" : emit_global_state_wrapped_decoding,
"vkGetPhysicalDeviceSparseImageFormatProperties2" : emit_global_state_wrapped_decoding,
"vkGetPhysicalDeviceSparseImageFormatProperties2KHR" : emit_global_state_wrapped_decoding,
}
class VulkanDecoder(VulkanWrapperGenerator):