Skip to content

auxiliary/draw: fix streamout overflow calculation

Roland Scheidegger requested to merge sroland/mesa:draw_so_overflow into main

What does this MR do and why?

auxiliary/draw: fix streamout overflow calculation

If the stride is larger than the component with the largest offset plus
the size of that component, it is still considered an overflow if there's
not enough space in the buffer to fit the whole stride-sized thing,
even when there would be enough space to actually write all components.
This is actually much simpler too, since we don't need to verify the
individual components at all (stride is guaranteed to be larger or equal
to the component with the largest offset plus the size of that component).

Merge request reports