mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
radeonsi/gfx12: fix stencil corruption
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Tested-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29564>
This commit is contained in:
parent
1b9ce2625f
commit
9ab9644c1f
1 changed files with 1 additions and 1 deletions
|
|
@ -5731,7 +5731,7 @@ static void gfx12_init_gfx_preamble_state(struct si_context *sctx)
|
|||
|
||||
/* Context registers */
|
||||
ac_pm4_set_reg(&pm4->base, R_028000_DB_RENDER_CONTROL, 0);
|
||||
ac_pm4_set_reg(&pm4->base, R_02800C_DB_RENDER_OVERRIDE, 0);
|
||||
ac_pm4_set_reg(&pm4->base, R_02800C_DB_RENDER_OVERRIDE, S_02800C_FORCE_STENCIL_VALID(1));
|
||||
ac_pm4_set_reg(&pm4->base, R_028040_DB_GL1_INTERFACE_CONTROL, 0);
|
||||
ac_pm4_set_reg(&pm4->base, R_028048_DB_MEM_TEMPORAL,
|
||||
S_028048_Z_TEMPORAL_READ(zs_read_temporal_hint) |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue