From 5d6b6c376fb1f2f1fb23d7601668b3d216fd0051 Mon Sep 17 00:00:00 2001 From: irql-notlessorequal Date: Mon, 31 Mar 2025 13:47:30 +0200 Subject: [PATCH] hasvk: Advertise VK_KHR_maintenance5 Part-of: --- src/intel/vulkan_hasvk/anv_device.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/intel/vulkan_hasvk/anv_device.c b/src/intel/vulkan_hasvk/anv_device.c index 969d66fa946..cb4718483f2 100644 --- a/src/intel/vulkan_hasvk/anv_device.c +++ b/src/intel/vulkan_hasvk/anv_device.c @@ -230,6 +230,7 @@ get_device_extensions(const struct anv_physical_device *device, .KHR_maintenance2 = true, .KHR_maintenance3 = true, .KHR_maintenance4 = true, + .KHR_maintenance5 = true, .KHR_multiview = true, .KHR_performance_query = !anv_use_relocations(device) && device->perf && @@ -667,6 +668,9 @@ get_features(const struct anv_physical_device *pdevice, /* VK_KHR_shader_relaxed_extended_instruction */ .shaderRelaxedExtendedInstruction = true, + + /* VK_KHR_maintenance5 */ + .maintenance5 = true, }; /* We can't do image stores in vec4 shaders */ @@ -1259,6 +1263,15 @@ get_properties(const struct anv_physical_device *pdevice, } #endif /* DETECT_OS_ANDROID */ + /* VK_KHR_maintenance5 */ + { + props->earlyFragmentMultisampleCoverageAfterSampleCounting = false; + props->earlyFragmentSampleMaskTestBeforeSampleCounting = false; + props->depthStencilSwizzleOneSupport = true; + props->polygonModePointSize = true; + props->nonStrictSinglePixelWideLinesUseParallelogram = false; + props->nonStrictWideLinesUseParallelogram = false; + } } static uint64_t