radeonsi: don't restore states at the beginning of IBs if they're shadowed
[mesa.git] / src / gallium / drivers / radeonsi / si_pipe.c
index 40c7270e46ea23c92e542e2225d12a7ec9a66855..aa76cb813253b91ca9a9099f2abb4209b1772046 100644 (file)
@@ -676,7 +676,7 @@ static struct pipe_context *si_create_context(struct pipe_screen *screen, unsign
       si_init_cp_reg_shadowing(sctx);
    }
 
-   si_begin_new_gfx_cs(sctx);
+   si_begin_new_gfx_cs(sctx, true);
    assert(sctx->gfx_cs->current.cdw == sctx->initial_gfx_cs_size);
 
    /* Initialize per-context buffers. */