[Piglit] [PATCH 1/2] gl-3.0: Add test for invalid drawbuffer parameter to glClearBuffer

Eric Anholt eric at anholt.net
Wed Nov 2 17:41:09 PDT 2011


On Wed, 02 Nov 2011 13:14:22 -0700, Ian Romanick <idr at freedesktop.org> wrote:
> On 11/01/2011 03:27 PM, Eric Anholt wrote:
> > On Tue,  1 Nov 2011 15:00:46 -0700, "Ian Romanick"<idr at freedesktop.org>  wrote:
> >> From: Ian Romanick<ian.d.romanick at intel.com>
> >> +	/* Page 264 (page 280 of the PDF) of the OpenGL 3.0 spec says:
> >> +	 *
> >> +	 *     "ClearBuffer generates an INVALID VALUE error if buffer is
> >> +	 *     COLOR and drawbuffer is less than zero, or greater than the
> >> +	 *     value of MAX DRAW BUFFERS minus one; or if buffer is DEPTH,
> >> +	 *     STENCIL, or DEPTH STENCIL and drawbuffer is not zero."
> >> +	 */
> >
> > This text is more clear about depth/stencil than the two citations
> > above.
> 
> Do you think just quoting this bit of text and omitting the others is 
> sufficient?

Yeah, that's what I was thinking.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20111102/d94201ee/attachment.pgp>


More information about the Piglit mailing list