mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
radeonsi/gfx11: fix the value of VGT_GS_OUT_PRIM_TYPE at the beginning of IBs
Reviewed-by: Mihai Preda <mhpreda@gmail.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16509>
This commit is contained in:
parent
a8d2ef8bd6
commit
a529e4f7ad
1 changed files with 5 additions and 1 deletions
|
|
@ -304,7 +304,11 @@ void si_set_tracked_regs_to_clear_state(struct si_context *ctx)
|
|||
|
||||
/* Set all cleared context registers to saved. */
|
||||
ctx->tracked_regs.reg_saved = BITFIELD64_MASK(SI_TRACKED_GE_PC_ALLOC);
|
||||
ctx->last_gs_out_prim = 0; /* cleared by CLEAR_STATE */
|
||||
|
||||
if (ctx->gfx_level >= GFX11)
|
||||
ctx->last_gs_out_prim = -1; /* uconfig register, unknown value */
|
||||
else
|
||||
ctx->last_gs_out_prim = 0; /* context register cleared by CLEAR_STATE */
|
||||
}
|
||||
|
||||
void si_install_draw_wrapper(struct si_context *sctx, pipe_draw_vbo_func wrapper,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue