iris: catastrophic state pointer mistake
This commit is contained in:
@@ -725,7 +725,7 @@ iris_alloc_state(struct iris_batch *batch,
|
|||||||
batch->statebuf.map_next += aligned_size;
|
batch->statebuf.map_next += aligned_size;
|
||||||
|
|
||||||
*out_offset = offset;
|
*out_offset = offset;
|
||||||
return batch->statebuf.map_next;
|
return batch->statebuf.map + offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t
|
uint32_t
|
||||||
|
Reference in New Issue
Block a user