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:
committed by
Marge Bot
parent
24b7fbca9d
commit
6ffbf77983
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user