Mesa (master): anv: Enable VK_EXT_image_drm_format_modifier

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 8 14:38:26 UTC 2021


Module: Mesa
Branch: master
Commit: f4c6988184486c0e13cc78783971a931772695d6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f4c6988184486c0e13cc78783971a931772695d6

Author: Chad Versace <chad at kiwitree.net>
Date:   Mon Mar 22 22:27:21 2021 -0700

anv: Enable VK_EXT_image_drm_format_modifier

Also enable the dependency VK_EXT_queue_family_foreign.

Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1466>

---

 src/intel/vulkan/anv_device.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 7885721a7d5..d1f1750a8e6 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -273,6 +273,7 @@ get_device_extensions(const struct anv_physical_device *device,
       .EXT_global_priority                   = device->has_context_priority,
       .EXT_host_query_reset                  = true,
       .EXT_image_robustness                  = true,
+      .EXT_image_drm_format_modifier         = true,
       .EXT_index_type_uint8                  = true,
       .EXT_inline_uniform_block              = true,
       .EXT_line_rasterization                = true,
@@ -282,9 +283,7 @@ get_device_extensions(const struct anv_physical_device *device,
       .EXT_pipeline_creation_feedback        = true,
       .EXT_post_depth_coverage               = device->info.ver >= 9,
       .EXT_private_data                      = true,
-#ifdef ANDROID
-      .EXT_queue_family_foreign              = ANDROID,
-#endif
+      .EXT_queue_family_foreign              = true,
       .EXT_robustness2                       = true,
       .EXT_sample_locations                  = true,
       .EXT_sampler_filter_minmax             = device->info.ver >= 9,



More information about the mesa-commit mailing list