- Original Message -
> On Thu, May 2, 2013 at 11:40 PM, Zack Rusin 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
On Thu, May 2, 2013 at 11:40 PM, Zack Rusin 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?
Alex
>
> Signed
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.
Signed-off-by: Zack Rusin
---
src/gallium/auxiliary/draw/draw_pt_so_emit.c |3 +--
1 file changed, 1 insertion(+), 2