mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 23:00:34 +01:00
zink: always terminate conditional render when flushing a batch
we might not know whether conditional render is active, so forcibly disable when necessary Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15018>
This commit is contained in:
parent
082b42fbda
commit
2cc309dd39
1 changed files with 1 additions and 0 deletions
|
|
@ -2440,6 +2440,7 @@ flush_batch(struct zink_context *ctx, bool sync)
|
|||
if (ctx->clears_enabled)
|
||||
/* start rp to do all the clears */
|
||||
zink_begin_render_pass(ctx);
|
||||
zink_stop_conditional_render(ctx);
|
||||
zink_end_render_pass(ctx);
|
||||
zink_end_batch(ctx, batch);
|
||||
ctx->deferred_fence = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue