mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
gfxstream: Track vkGetDeviceImageMemoryRequirements on host
vkGetDeviceImageMemoryRequirements can be used to get memory requirements without creating an actual image and we should apply the same image modifications based on the create info when returning the memory requirements. Reviewed-by: Marcin Radomski <dextero@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35323>
This commit is contained in:
parent
4340dfb400
commit
33ba95cb0c
1 changed files with 5 additions and 0 deletions
|
|
@ -842,6 +842,11 @@ custom_decodes = {
|
|||
"vkGetPhysicalDeviceSparseImageFormatProperties" : emit_global_state_wrapped_decoding,
|
||||
"vkGetPhysicalDeviceSparseImageFormatProperties2" : emit_global_state_wrapped_decoding,
|
||||
"vkGetPhysicalDeviceSparseImageFormatProperties2KHR" : emit_global_state_wrapped_decoding,
|
||||
|
||||
# Image requirements need to be adjusted for compressed textures
|
||||
"vkGetDeviceImageMemoryRequirements" : emit_global_state_wrapped_decoding,
|
||||
"vkGetDeviceImageMemoryRequirementsKHR" : emit_global_state_wrapped_decoding,
|
||||
|
||||
}
|
||||
|
||||
class VulkanDecoder(VulkanWrapperGenerator):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue