mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
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:
parent
f5d15d6a06
commit
d96705e4b8
1 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue