mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 02:00:21 +01:00
iris: Use vfg distribution mode = RR_STRICT for Xe2+
Acked-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32566>
This commit is contained in:
parent
3bddf77f61
commit
260f3b4444
1 changed files with 5 additions and 3 deletions
|
|
@ -8171,10 +8171,12 @@ iris_upload_dirty_render_state(struct iris_context *ice,
|
|||
#if GFX_VERx10 >= 125
|
||||
if (dirty & IRIS_DIRTY_VFG) {
|
||||
iris_emit_cmd(batch, GENX(3DSTATE_VFG), vfg) {
|
||||
/* If 3DSTATE_TE: TE Enable == 1 then RR_STRICT else RR_FREE*/
|
||||
/* Gfx12.5: If 3DSTATE_TE: TE Enable == 1 then RR_STRICT else RR_FREE */
|
||||
vfg.DistributionMode =
|
||||
ice->shaders.prog[MESA_SHADER_TESS_EVAL] != NULL ? RR_STRICT :
|
||||
RR_FREE;
|
||||
#if GFX_VER < 20
|
||||
ice->shaders.prog[MESA_SHADER_TESS_EVAL] == NULL ? RR_FREE :
|
||||
#endif
|
||||
RR_STRICT;
|
||||
if (intel_needs_workaround(batch->screen->devinfo, 14019166699) &&
|
||||
program_uses_primitive_id)
|
||||
vfg.DistributionGranularity = InstanceLevelGranularity;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue