Module: Mesa
Branch: main
Commit: 56d556f8217a47f9dc06f36c641da9a5d62de88c
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=56d556f8217a47f9dc06f36c641da9a5d62de88c

Author: Iván Briano <ivan.bri...@intel.com>
Date:   Tue Sep 19 17:12:58 2023 -0700

anv: enable VK_KHR_maintenance6

Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26842>

---

 src/intel/vulkan/anv_device.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index c7500a7cb27..217ed018e89 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -257,6 +257,7 @@ get_device_extensions(const struct anv_physical_device 
*device,
       .KHR_maintenance3                      = true,
       .KHR_maintenance4                      = true,
       .KHR_maintenance5                      = true,
+      .KHR_maintenance6                      = true,
       .KHR_map_memory2                       = true,
       .KHR_multiview                         = true,
       .KHR_performance_query =
@@ -859,6 +860,9 @@ get_features(const struct anv_physical_device *pdevice,
       /* VK_KHR_maintenance5 */
       .maintenance5 = true,
 
+      /* VK_KHR_maintenance6 */
+      .maintenance6 = true,
+
       /* VK_EXT_nested_command_buffer */
       .nestedCommandBuffer = true,
       .nestedCommandBufferRendering = true,
@@ -1404,6 +1408,13 @@ get_properties(const struct anv_physical_device *pdevice,
       props->nonStrictWideLinesUseParallelogram = false;
    }
 
+   /* VK_KHR_maintenance6 */
+   {
+      props->blockTexelViewCompatibleMultipleLayers = true;
+      props->maxCombinedImageSamplerDescriptorCount = 3;
+      props->fragmentShadingRateClampCombinerInputs = true;
+   }
+
    /* VK_KHR_performance_query */
    {
       props->allowCommandBufferQueryCopies = false;

Reply via email to