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:
Rob Clark
2023-06-05 07:19:39 -07:00
committed by Marge Bot
parent e527bd7986
commit ca9dc7be34
@@ -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