iris/xe2+: Use Region-based Tessellation redistribution

Update to recommended value from BSpec for xe2.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26438>
This commit is contained in:
Caio Oliveira 2022-10-19 14:41:32 -07:00 committed by Marge Bot
parent f5d15d6a06
commit d96705e4b8

View file

@ -5031,7 +5031,11 @@ iris_store_tes_state(const struct intel_device_info *devinfo,
te.TessellationDistributionMode = TEDMODE_RR_FREE;
}
#if GFX_VER >= 20
te.TessellationDistributionLevel = TEDLEVEL_REGION;
#else
te.TessellationDistributionLevel = TEDLEVEL_PATCH;
#endif
/* 64_TRIANGLES */
te.SmallPatchThreshold = 3;
/* 1K_TRIANGLES */