mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
freedreno: Assert to check for the previous regression.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12942>
This commit is contained in:
parent
b8c4ad378d
commit
feb971fdee
1 changed files with 2 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ get_history(struct fd_autotune *at, struct fd_batch *batch)
|
|||
{
|
||||
struct fd_batch_history *history;
|
||||
|
||||
/* draw batches should still have their key at this point. */
|
||||
assert(batch->key || batch->nondraw);
|
||||
if (!batch->key)
|
||||
return NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue