radv: update PGM register for TES+GS compiled separately with ESO
Not sure why 0xB210 works on GFX10+ because it's supposed to be 0xB320 with/without NGG... Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31115>
This commit is contained in:
committed by
Marge Bot
parent
97624f99a1
commit
c7a509f55c
@@ -2318,7 +2318,13 @@ radv_emit_tess_eval_shader(struct radv_cmd_buffer *cmd_buffer)
|
||||
|
||||
radv_shader_combine_cfg_tes_gs(tes, gs, &rsrc1, &rsrc2);
|
||||
|
||||
radeon_set_sh_reg(cmd_buffer->cs, R_00B210_SPI_SHADER_PGM_LO_ES, tes->va >> 8);
|
||||
if (pdev->info.gfx_level >= GFX12) {
|
||||
radeon_set_sh_reg(cmd_buffer->cs, R_00B224_SPI_SHADER_PGM_LO_ES, tes->va >> 8);
|
||||
} else if (pdev->info.gfx_level >= GFX10) {
|
||||
radeon_set_sh_reg(cmd_buffer->cs, R_00B320_SPI_SHADER_PGM_LO_ES, tes->va >> 8);
|
||||
} else {
|
||||
radeon_set_sh_reg(cmd_buffer->cs, R_00B210_SPI_SHADER_PGM_LO_ES, tes->va >> 8);
|
||||
}
|
||||
|
||||
unsigned lds_size;
|
||||
if (gs->info.is_ngg) {
|
||||
|
||||
Reference in New Issue
Block a user