From: Chad Versace <[email protected]>
---
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 f1b4b0c95e..ecddaae818 100644
--- a/src/intel/vulkan/anv_entrypoints_gen.py
+++ b/src/intel/vulkan/anv_entrypoints_gen.py
@@ -33,6 +33,7 @@ from mako.template import Template
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_get_surface_capabilities2',
diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c
index 68e3c22ff8..0f130389bd 100644
--- a/src/intel/vulkan/anv_image.c
+++ b/src/intel/vulkan/anv_image.c
@@ -30,6 +30,7 @@
#include "anv_private.h"
#include "util/debug.h"
+#include "vk_util.h"
#include "vk_format_info.h"
@@ -442,6 +443,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 a given
* VkImageLayout and other pieces of information needed to make that
--
2.13.0
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev