mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 06:48:09 +02:00
radeonsi/gfx11: fix the CU_EN clear mask for RSRC4_GS
Fixes:9fecac091f- radeonsi/gfx11: scattered register deltas Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21525> (cherry picked from commit31438fbab5)
This commit is contained in:
parent
269a94eef7
commit
87c167e2f4
2 changed files with 3 additions and 2 deletions
|
|
@ -6232,7 +6232,7 @@
|
|||
"description": "radeonsi/gfx11: fix the CU_EN clear mask for RSRC4_GS",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "9fecac091f3159eb50a3e3dea2312218bb87d8c1"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1234,7 +1234,8 @@ static void gfx10_emit_shader_ngg_tail(struct si_context *sctx, struct si_shader
|
|||
(sctx->gfx_level >= GFX10 ? radeon_set_sh_reg_idx3_func : radeon_set_sh_reg_func));
|
||||
ac_set_reg_cu_en(&sctx->gfx_cs, R_00B204_SPI_SHADER_PGM_RSRC4_GS,
|
||||
shader->ctx_reg.ngg.spi_shader_pgm_rsrc4_gs,
|
||||
C_00B204_CU_EN_GFX10, 16, &sctx->screen->info,
|
||||
sctx->gfx_level >= GFX11 ? C_00B204_CU_EN_GFX11 : C_00B204_CU_EN_GFX10, 16,
|
||||
&sctx->screen->info,
|
||||
(void (*)(void*, unsigned, uint32_t))
|
||||
(sctx->gfx_level >= GFX10 ? radeon_set_sh_reg_idx3_func : radeon_set_sh_reg_func));
|
||||
sctx->tracked_regs.reg_saved &= ~BITFIELD64_BIT(SI_TRACKED_SPI_SHADER_PGM_RSRC4_GS) &
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue