From 27e7bb02bd0f89f96d9e3b402b46c2c97ee4defe Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 22 Sep 2020 01:35:23 +0000 Subject: Import Mesa 20.0.8 --- lib/mesa/src/gallium/drivers/freedreno/freedreno_blitter.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/mesa/src/gallium/drivers/freedreno/freedreno_blitter.c') diff --git a/lib/mesa/src/gallium/drivers/freedreno/freedreno_blitter.c b/lib/mesa/src/gallium/drivers/freedreno/freedreno_blitter.c index 237e86f3a..ca6cd8ebd 100644 --- a/lib/mesa/src/gallium/drivers/freedreno/freedreno_blitter.c +++ b/lib/mesa/src/gallium/drivers/freedreno/freedreno_blitter.c @@ -114,13 +114,15 @@ fd_blitter_pipe_begin(struct fd_context *ctx, bool render_cond, bool discard, if (ctx->batch) fd_batch_set_stage(ctx->batch, stage); - ctx->in_discard_blit = discard; + ctx->in_blit = discard; } static void fd_blitter_pipe_end(struct fd_context *ctx) { - ctx->in_discard_blit = false; + if (ctx->batch) + fd_batch_set_stage(ctx->batch, FD_STAGE_NULL); + ctx->in_blit = false; } bool -- cgit v1.2.3