From 94d2ec975dd9a8501f1ddcb13b5db6d3318df2ae Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 15 Dec 2025 15:59:10 +0200 Subject: [PATCH] anv: disable crast on SKL SKL is failing the following tests (maybe more) : dEQP-VK.rasterization.conservative.overestimate.samples_1.triangles.degenerate.0_00 dEQP-VK.rasterization.conservative.overestimate.samples_16.triangles.degenerate.max dEQP-VK.rasterization.conservative.overestimate.samples_2.triangles.degenerate.max dEQP-VK.rasterization.conservative.overestimate.samples_2.triangles.degenerate.min dEQP-VK.rasterization.conservative.overestimate.samples_4.triangles.degenerate.0_00 dEQP-VK.rasterization.conservative.overestimate.samples_8.triangles.degenerate.max dEQP-VK.rasterization.conservative.overestimate.samples_8.triangles.degenerate.min Signed-off-by: Lionel Landwerlin Cc: mesa-stable Reviewed-by: Alyssa Rosenzweig Part-of: --- src/intel/vulkan/anv_physical_device.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_physical_device.c b/src/intel/vulkan/anv_physical_device.c index 60ac2822e2f..9c25067e95c 100644 --- a/src/intel/vulkan/anv_physical_device.c +++ b/src/intel/vulkan/anv_physical_device.c @@ -283,7 +283,11 @@ get_device_extensions(const struct anv_physical_device *device, .EXT_calibrated_timestamps = device->has_reg_timestamp, .EXT_color_write_enable = true, .EXT_conditional_rendering = true, - .EXT_conservative_rasterization = true, + /* Skylake has broken conservative rasterization with backface culling. + * There is a chicken bit in 3D_CHICKEN3 to reenable the broken behavior + * on KBL+. So just disable crast on SKL. + */ + .EXT_conservative_rasterization = device->info.platform != INTEL_PLATFORM_SKL, .EXT_custom_border_color = true, .EXT_depth_bias_control = true, .EXT_depth_clamp_control = true,