mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 11:30:21 +01:00
zink: assert !rp_changed after renderpass has started
avoid weirdness Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17665>
This commit is contained in:
parent
c24c5972a8
commit
992cd1ae2b
1 changed files with 1 additions and 0 deletions
|
|
@ -2353,6 +2353,7 @@ zink_batch_rp(struct zink_context *ctx)
|
|||
clear_buffers = zink_begin_render_pass(ctx);
|
||||
else
|
||||
clear_buffers = begin_rendering(ctx);
|
||||
assert(!ctx->rp_changed);
|
||||
if (in_rp || !ctx->batch.in_rp)
|
||||
return; //dead swapchain or continued renderpass
|
||||
if (ctx->render_condition.query)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue