mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 01:28:07 +02:00
radv: do not set registers for merged ES-GS on GFX9
Based on RadeonSI. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
1789cac6dd
commit
c74ed3966e
1 changed files with 5 additions and 2 deletions
|
|
@ -343,8 +343,11 @@ si_emit_config(struct radv_physical_device *physical_device,
|
|||
radeon_set_context_reg(cs, R_028A1C_VGT_HOS_MIN_TESS_LEVEL, fui(0));
|
||||
|
||||
/* FIXME calculate these values somehow ??? */
|
||||
radeon_set_context_reg(cs, R_028A54_VGT_GS_PER_ES, SI_GS_PER_ES);
|
||||
radeon_set_context_reg(cs, R_028A58_VGT_ES_PER_GS, 0x40);
|
||||
if (physical_device->rad_info.chip_class <= VI) {
|
||||
radeon_set_context_reg(cs, R_028A54_VGT_GS_PER_ES, SI_GS_PER_ES);
|
||||
radeon_set_context_reg(cs, R_028A58_VGT_ES_PER_GS, 0x40);
|
||||
}
|
||||
|
||||
radeon_set_context_reg(cs, R_028A5C_VGT_GS_PER_VS, 0x2);
|
||||
|
||||
radeon_set_context_reg(cs, R_028A8C_VGT_PRIMITIVEID_RESET, 0x0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue