Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
- index ab2a40f93fda..f2912728373c 100644
- --- a/src/gallium/drivers/panfrost/pan_context.c
- +++ b/src/gallium/drivers/panfrost/pan_context.c
- @@ -1271,9 +1271,6 @@ panfrost_queue_draw(struct panfrost_context *ctx)
- assert(0);
- }
- - if (ctx->draw_count == 0 && !ctx->blitter->running && 0)
- - panfrost_draw_wallpaper(&ctx->base);
- -
- /* Handle dirty flags now */
- panfrost_emit_for_draw(ctx, true);
- @@ -1494,6 +1491,9 @@ panfrost_draw_vbo(
- {
- struct panfrost_context *ctx = pan_context(pipe);
- + if (ctx->draw_count == 0 && !ctx->blitter->running)
- + panfrost_draw_wallpaper(&ctx->base);
- +
- ctx->payload_vertex.draw_start = info->start;
- ctx->payload_tiler.draw_start = info->start;
Advertisement
Add Comment
Please, Sign In to add comment