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:
committed by
Marge Bot
parent
c24c5972a8
commit
992cd1ae2b
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user