mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
iris: fix assert
This commit is contained in:
parent
e91289908a
commit
fc5ddc64f9
1 changed files with 1 additions and 1 deletions
|
|
@ -690,7 +690,7 @@ iris_alloc_state(struct iris_batch *batch,
|
|||
int size, int alignment,
|
||||
uint32_t *out_offset)
|
||||
{
|
||||
assert(size < batch->cmdbuf.bo->size);
|
||||
assert(size < batch->statebuf.bo->size);
|
||||
|
||||
const unsigned existing_bytes = buffer_bytes_used(&batch->statebuf);
|
||||
unsigned aligned_size =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue