mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 21:08:11 +02:00
freedreno: Remove assert
In multi-context scenarios, one context writing to a resource can race with a pctx->flush_resource() on another context/thread. Which means that by the end of flush_resource() we can have a new write_batch. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11200>
This commit is contained in:
parent
cbb5280a00
commit
38dd2e6e41
1 changed files with 0 additions and 2 deletions
|
|
@ -667,8 +667,6 @@ flush_resource(struct fd_context *ctx, struct fd_resource *rsc,
|
|||
}
|
||||
|
||||
fd_batch_reference(&write_batch, NULL);
|
||||
|
||||
assert(!rsc->track->write_batch);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue