mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 21:30:23 +01:00
radeonsi: In gfx6_init_gfx_preamble_state() use gfx_level only from sctx
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25148>
This commit is contained in:
parent
b1111f35c6
commit
6cf58bc862
1 changed files with 1 additions and 1 deletions
|
|
@ -5735,7 +5735,7 @@ static void gfx6_init_gfx_preamble_state(struct si_context *sctx)
|
|||
si_pm4_set_reg(pm4, R_028408_VGT_INDX_OFFSET, 0);
|
||||
}
|
||||
|
||||
if (sscreen->info.gfx_level == GFX9) {
|
||||
if (sctx->gfx_level == GFX9) {
|
||||
si_pm4_set_reg(pm4, R_00B414_SPI_SHADER_PGM_HI_LS,
|
||||
S_00B414_MEM_BASE(sscreen->info.address32_hi >> 8));
|
||||
si_pm4_set_reg(pm4, R_00B214_SPI_SHADER_PGM_HI_ES,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue