anv: restrict TessellationDistributionLevel for Wa_16025857284

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33864>
This commit is contained in:
Tapani Pälli
2025-03-04 07:46:04 +02:00
committed by Marge Bot
parent 1a5cbbeb47
commit 1674cb3665
+4 -1
View File
@@ -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