Kenneth Graunke writes:
> If we've written N pairs of values to the buffer, then last_index = N,
> but the values are 0 .. N-1. Thus, we need to use <, not <=.
>
> This worked anyway because we fill the buffer with zeroes, so we just
> added an extra (0 - 0) to our results.
This series is:
Rev
If we've written N pairs of values to the buffer, then last_index = N,
but the values are 0 .. N-1. Thus, we need to use <, not <=.
This worked anyway because we fill the buffer with zeroes, so we just
added an extra (0 - 0) to our results.
Signed-off-by: Kenneth Graunke
---
src/mesa/drivers/d