mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
radeonsi: fix S_028C48_MAX_ALLOC_COUNT value
This field uses "value minus 1" encoding. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
323cda475b
commit
90bded140e
1 changed files with 1 additions and 1 deletions
|
|
@ -5703,7 +5703,7 @@ static void si_init_config(struct si_context *sctx)
|
|||
}
|
||||
|
||||
si_pm4_set_reg(pm4, R_028C48_PA_SC_BINNER_CNTL_1,
|
||||
S_028C48_MAX_ALLOC_COUNT(max_alloc_count) |
|
||||
S_028C48_MAX_ALLOC_COUNT(max_alloc_count - 1) |
|
||||
S_028C48_MAX_PRIM_PER_BATCH(1023));
|
||||
si_pm4_set_reg(pm4, R_028C4C_PA_SC_CONSERVATIVE_RASTERIZATION_CNTL,
|
||||
S_028C4C_NULL_SQUAD_AA_MASK_ENABLE(1));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue