On 18 July 2013 10:30, Matt Turner <matts...@gmail.com> wrote: > On Sat, May 25, 2013 at 4:33 AM, Fabian Bieler <fabianbie...@fastmail.fm> > 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 page 33 (page 48 of the PDF): > > "[Regarding DrawArraysOneInstance, in terms of which other draw > operations > > are defined:] > > If count is negative, an INVALID_VALUE error is generated." > > > > This patch also changes the bahavior of MultiDrawElements to perform the > draw > > operation if some primitive's index counts are zero. > > > > Signed-off-by: Fabian Bieler <fabianbie...@fastmail.fm> > > --- > > Was this committed? I don't see it. > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev >
I've just committed it. Thanks for the reminder, Matt!
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev