From 1674cb3665546e5299c60493c7f10934089fc2ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tapani=20P=C3=A4lli?= Date: Tue, 4 Mar 2025 07:46:04 +0200 Subject: [PATCH] anv: restrict TessellationDistributionLevel for Wa_16025857284 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tapani Pälli Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/genX_pipeline.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_pipeline.c index 17415cf782b..fed360fde11 100644 --- a/src/intel/vulkan/genX_pipeline.c +++ b/src/intel/vulkan/genX_pipeline.c @@ -1427,7 +1427,10 @@ emit_3dstate_te(struct anv_graphics_pipeline *pipeline) te.TessellationDistributionMode = TEDMODE_OFF; #if GFX_VER >= 20 - te.TessellationDistributionLevel = TEDLEVEL_REGION; + if (intel_needs_workaround(device->info, 16025857284)) + te.TessellationDistributionLevel = TEDLEVEL_PATCH; + else + te.TessellationDistributionLevel = TEDLEVEL_REGION; #else te.TessellationDistributionLevel = TEDLEVEL_PATCH; #endif