[Mesa-dev] [PATCH] draw/pt: adjust overflow calculations

Jose Fonseca jfonseca at vmware.com
Fri May 3 06:55:31 PDT 2013



----- Original Message -----
> On Thu, May 2, 2013 at 11:40 PM, Zack Rusin <zackr at vmware.com> wrote:
> > gallium lies. buffer_size is not actually buffer_size but available
> > size, which is 'buffer_size - buffer_offset' so by adding buffer
> > offset we'd incorrectly compute overflow.
> 
> Maybe add a comment to that effect in the code?

Yes, in the pipe_stream_output_target code.

Otherwise looks good to me Zack.

Jose


More information about the mesa-dev mailing list