Re: [Mesa-dev] [PATCH 3/3] mesa/main: Check for 0 size draws after validation.

2013-08-27 Thread Paul Berry
On 18 July 2013 10:30, Matt Turner wrote: > On Sat, May 25, 2013 at 4:33 AM, Fabian Bieler > wrote: > > When validating draw parameters move check for 0 draw count last > > (drawing with count 0 is not an error), so that other parameters (e.g.: > the > > primitive type) are validated and the cor

Re: [Mesa-dev] [PATCH 3/3] mesa/main: Check for 0 size draws after validation.

2013-07-18 Thread Matt Turner
On Sat, May 25, 2013 at 4:33 AM, Fabian Bieler wrote: > When validating draw parameters move check for 0 draw count last > (drawing with count 0 is not an error), so that other parameters (e.g.: the > primitive type) are validated and the correct errors (if applicable) are > generated. > > >From t

Re: [Mesa-dev] [PATCH 3/3] mesa/main: Check for 0 size draws after validation.

2013-06-18 Thread Brian Paul
On 05/25/2013 05:33 AM, Fabian Bieler wrote: When validating draw parameters move check for 0 draw count last (drawing with count 0 is not an error), so that other parameters (e.g.: the primitive type) are validated and the correct errors (if applicable) are generated. From the OpenGL 3.3 spec

[Mesa-dev] [PATCH 3/3] mesa/main: Check for 0 size draws after validation.

2013-06-14 Thread Fabian Bieler
When validating draw parameters move check for 0 draw count last (drawing with count 0 is not an error), so that other parameters (e.g.: the primitive type) are validated and the correct errors (if applicable) are generated. >From the OpenGL 3.3 spec page 33 (page 48 of the PDF): "[Regarding DrawA