iris: 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:47:40 +02:00 committed by Marge Bot
parent 1674cb3665
commit 288f932b78

View file

@ -5251,7 +5251,10 @@ iris_store_tes_state(const struct intel_device_info *devinfo,
STATIC_ASSERT(TEDMODE_OFF == 0);
#if GFX_VER >= 20
te.TessellationDistributionLevel = TEDLEVEL_REGION;
if (intel_needs_workaround(devinfo, 16025857284))
te.TessellationDistributionLevel = TEDLEVEL_PATCH;
else
te.TessellationDistributionLevel = TEDLEVEL_REGION;
#else
te.TessellationDistributionLevel = TEDLEVEL_PATCH;
#endif