diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_clear.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_clear.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/radeonsi/si_clear.c b/src/gallium/drivers/radeonsi/si_clear.c index 8198ffb8812..403480cfb5f 100644 --- a/src/gallium/drivers/radeonsi/si_clear.c +++ b/src/gallium/drivers/radeonsi/si_clear.c @@ -605,11 +605,11 @@ static void si_clear(struct pipe_context *ctx, unsigned buffers, } } - si_blitter_begin(ctx, SI_CLEAR); + si_blitter_begin(sctx, SI_CLEAR); util_blitter_clear(sctx->blitter, fb->width, fb->height, util_framebuffer_get_num_layers(fb), buffers, color, depth, stencil); - si_blitter_end(ctx); + si_blitter_end(sctx); if (sctx->db_depth_clear) { sctx->db_depth_clear = false; @@ -635,11 +635,11 @@ static void si_clear_render_target(struct pipe_context *ctx, { struct si_context *sctx = (struct si_context *)ctx; - si_blitter_begin(ctx, SI_CLEAR_SURFACE | + si_blitter_begin(sctx, SI_CLEAR_SURFACE | (render_condition_enabled ? 0 : SI_DISABLE_RENDER_COND)); util_blitter_clear_render_target(sctx->blitter, dst, color, dstx, dsty, width, height); - si_blitter_end(ctx); + si_blitter_end(sctx); } static void si_clear_depth_stencil(struct pipe_context *ctx, @@ -653,11 +653,11 @@ static void si_clear_depth_stencil(struct pipe_context *ctx, { struct si_context *sctx = (struct si_context *)ctx; - si_blitter_begin(ctx, SI_CLEAR_SURFACE | + si_blitter_begin(sctx, SI_CLEAR_SURFACE | (render_condition_enabled ? 0 : SI_DISABLE_RENDER_COND)); util_blitter_clear_depth_stencil(sctx->blitter, dst, clear_flags, depth, stencil, dstx, dsty, width, height); - si_blitter_end(ctx); + si_blitter_end(sctx); } static void si_clear_texture(struct pipe_context *pipe, |