mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
iris: implement TES distribution mode WA 22012785325
Set TEDMODE_RR_STRICT when TEEnable is set. Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21899>
This commit is contained in:
parent
b4b43aa912
commit
a455f80395
1 changed files with 4 additions and 1 deletions
|
|
@ -4811,7 +4811,10 @@ iris_store_tes_state(const struct intel_device_info *devinfo,
|
|||
te.MaximumTessellationFactorOdd = 63.0;
|
||||
te.MaximumTessellationFactorNotOdd = 64.0;
|
||||
#if GFX_VERx10 >= 125
|
||||
te.TessellationDistributionMode = TEDMODE_RR_FREE;
|
||||
if (intel_needs_workaround(devinfo, 22012785325))
|
||||
te.TessellationDistributionMode = TEDMODE_RR_STRICT;
|
||||
else
|
||||
te.TessellationDistributionMode = TEDMODE_RR_FREE;
|
||||
te.TessellationDistributionLevel = TEDLEVEL_PATCH;
|
||||
/* 64_TRIANGLES */
|
||||
te.SmallPatchThreshold = 3;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue