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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user