anv/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 11:28:22 -07:00
committed by Marge Bot
parent 05632fc9eb
commit f5d15d6a06

View File

@@ -1410,7 +1410,11 @@ emit_3dstate_te(struct anv_graphics_pipeline *pipeline)
te.TessellationDistributionMode = TEDMODE_OFF;
}
#if GFX_VER >= 20
te.TessellationDistributionLevel = TEDLEVEL_REGION;
#else
te.TessellationDistributionLevel = TEDLEVEL_PATCH;
#endif
/* 64_TRIANGLES */
te.SmallPatchThreshold = 3;
/* 1K_TRIANGLES */