mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
iris: catastrophic state pointer mistake
This commit is contained in:
parent
1739dc0d5e
commit
ffcd84f55a
1 changed files with 1 additions and 1 deletions
|
|
@ -725,7 +725,7 @@ iris_alloc_state(struct iris_batch *batch,
|
|||
batch->statebuf.map_next += aligned_size;
|
||||
|
||||
*out_offset = offset;
|
||||
return batch->statebuf.map_next;
|
||||
return batch->statebuf.map + offset;
|
||||
}
|
||||
|
||||
uint32_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue