mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radv: switch on EOP when primitive restart is enabled with triangle strips
Otherwise, Yakuza hangs the GPU with DXVK. We don't know if linetrip and pointlist are affected, so my point is to do that only for triangle strips. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
74cf3b627c
commit
d8325f1f07
1 changed files with 1 additions and 2 deletions
|
|
@ -3394,8 +3394,7 @@ radv_compute_ia_multi_vgt_param_helpers(struct radv_pipeline *pipeline,
|
|||
(pipeline->graphics.prim_restart_enable &&
|
||||
(device->physical_device->rad_info.family < CHIP_POLARIS10 ||
|
||||
(prim != V_008958_DI_PT_POINTLIST &&
|
||||
prim != V_008958_DI_PT_LINESTRIP &&
|
||||
prim != V_008958_DI_PT_TRISTRIP))))
|
||||
prim != V_008958_DI_PT_LINESTRIP))))
|
||||
ia_multi_vgt_param.wd_switch_on_eop = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue