mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 05:30:24 +01:00
asahi: assert invariant
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
parent
24b7fbca9d
commit
6ffbf77983
1 changed files with 1 additions and 0 deletions
|
|
@ -511,6 +511,7 @@ agx_batch_writes_internal(struct agx_batch *batch, struct agx_resource *rsrc,
|
|||
*/
|
||||
agx_writer_remove(ctx, rsrc->bo->handle);
|
||||
agx_writer_add(ctx, agx_batch_idx(batch), rsrc->bo->handle);
|
||||
assert(agx_batch_is_active(batch));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue