mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
zink: assert that batches never use a timeline value of 0
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36029>
This commit is contained in:
parent
767ecc27cb
commit
8090e24567
1 changed files with 1 additions and 0 deletions
|
|
@ -617,6 +617,7 @@ submit_queue(void *data, void *gdata, int thread_index)
|
|||
while (!bs->fence.batch_id)
|
||||
bs->fence.batch_id = (uint32_t)p_atomic_inc_return(&screen->curr_batch);
|
||||
bs->usage.usage = bs->fence.batch_id;
|
||||
assert(bs->usage.usage);
|
||||
bs->usage.unflushed = false;
|
||||
|
||||
uint64_t batch_id = bs->fence.batch_id;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue