--- src/intel/vulkan/anv_entrypoints_gen.py | 1 + src/intel/vulkan/anv_image.c | 13 +++++++++++++ 2 files changed, 14 insertions(+)
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py index 7d7ea5e77ed..eb960b45986 100644 --- a/src/intel/vulkan/anv_entrypoints_gen.py +++ b/src/intel/vulkan/anv_entrypoints_gen.py @@ -28,6 +28,7 @@ import xml.etree.ElementTree as ET max_api_version = 1.0 supported_extensions = [ + 'VK_EXT_get_image_properties', 'VK_KHR_descriptor_update_template', 'VK_KHR_get_physical_device_properties2', 'VK_KHR_maintenance1', diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index 7798f325082..bca56a417aa 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -29,6 +29,7 @@ #include "anv_private.h" #include "util/debug.h" +#include "util/vk_util.h" #include "vk_format_info.h" @@ -468,6 +469,18 @@ void anv_GetImageSubresourceLayout( } } +VkResult anv_GetImagePropertiesEXT( + VkDevice device_h, + VkImage image_h, + VkImagePropertiesEXT* base_props) +{ + vk_foreach_struct(s, base_props->pNext) { + anv_debug_ignored_stype(s->sType); + } + + return VK_SUCCESS; +} + /** * This function determines the optimal buffer to use for device * accesses given a VkImageLayout and other pieces of information needed to -- 2.12.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev