367aad4f33
The next pointer wasn't advanced past the start of the new buffer, meaning anything overflowed into the new buffer would be overwritten on the next emit. Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reviewed-by: Luigi Santivetti <luigi.santivetti@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24692>