freedreno/batch: Add driver-thread assert
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23470>
This commit is contained in:
@@ -357,6 +357,8 @@ batch_flush(struct fd_batch *batch) assert_dt
|
||||
if (batch->flushed)
|
||||
return;
|
||||
|
||||
tc_assert_driver_thread(batch->ctx->tc);
|
||||
|
||||
batch->needs_flush = false;
|
||||
|
||||
/* close out the draw cmds by making sure any active queries are
|
||||
|
||||
Reference in New Issue
Block a user