From 56d556f8217a47f9dc06f36c641da9a5d62de88c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Tue, 19 Sep 2023 17:12:58 -0700 Subject: [PATCH] anv: enable VK_KHR_maintenance6 Reviewed-by: Lionel Landwerlin Part-of: --- 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;