mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
radv/gfx10: don't initialize VGT_INSTANCE_STEP_RATE_0
Only gfx9 and older use it to get InstanceID in VGPR1.
Ported from RadeonSI.
Cc: 19.2 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
(cherry picked from commit 0813c27d8d)
This commit is contained in:
parent
966a2bdc99
commit
7200ed1399
1 changed files with 2 additions and 1 deletions
|
|
@ -192,7 +192,8 @@ si_emit_graphics(struct radv_physical_device *physical_device,
|
|||
radeon_set_context_reg(cs, R_028B98_VGT_STRMOUT_BUFFER_CONFIG, 0x0);
|
||||
}
|
||||
|
||||
radeon_set_context_reg(cs, R_028AA0_VGT_INSTANCE_STEP_RATE_0, 1);
|
||||
if (physical_device->rad_info.chip_class <= GFX9)
|
||||
radeon_set_context_reg(cs, R_028AA0_VGT_INSTANCE_STEP_RATE_0, 1);
|
||||
if (!physical_device->has_clear_state)
|
||||
radeon_set_context_reg(cs, R_028AB8_VGT_VTX_CNT_EN, 0x0);
|
||||
if (physical_device->rad_info.chip_class < GFX7)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue