From a9ea7c542c002651e28c07cfb7ba005efe215bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Fri, 3 Oct 2025 10:30:38 -0700 Subject: [PATCH] anv: report maint5::earlyFragment*SampleCounting correctly The HW bug was fixed on Xe2, report so accordingly. Can test behavior with dEQP-VK.fragment_operations.early_fragment.*_maintenance5 Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_physical_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_physical_device.c b/src/intel/vulkan/anv_physical_device.c index 7bec5059cdc..db524f065ec 100644 --- a/src/intel/vulkan/anv_physical_device.c +++ b/src/intel/vulkan/anv_physical_device.c @@ -1501,8 +1501,8 @@ get_properties(const struct anv_physical_device *pdevice, /* VK_KHR_maintenance5 */ { - props->earlyFragmentMultisampleCoverageAfterSampleCounting = false; - props->earlyFragmentSampleMaskTestBeforeSampleCounting = false; + props->earlyFragmentMultisampleCoverageAfterSampleCounting = devinfo->verx10 >= 200; + props->earlyFragmentSampleMaskTestBeforeSampleCounting = devinfo->verx10 >= 200; props->depthStencilSwizzleOneSupport = true; props->polygonModePointSize = true; props->nonStrictSinglePixelWideLinesUseParallelogram = false;