radv: fix emitting VGT_PRIMITIVEID_RESET in the GFX preamble on GFX12

It's a uconfig register.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29566>
This commit is contained in:
Samuel Pitoiset 2024-06-05 12:45:48 +02:00 committed by Marge Bot
parent be3c837c04
commit fe78ad2690

View file

@ -866,7 +866,7 @@ radv_emit_graphics(struct radv_device *device, struct radeon_cmdbuf *cs)
}
if (pdev->info.gfx_level >= GFX12) {
radeon_set_context_reg(cs, R_0309B4_VGT_PRIMITIVEID_RESET, 0x0);
radeon_set_uconfig_reg(cs, R_0309B4_VGT_PRIMITIVEID_RESET, 0x0);
} else {
radeon_set_context_reg(cs, R_028A8C_VGT_PRIMITIVEID_RESET, 0x0);
}