[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] vertexAttribPointer conformance test

On Wed, Dec 22, 2010 at 10:17 AM, Kenneth Russell <kbr@google.com> wrote:
On Wed, Dec 22, 2010 at 4:56 AM, Erik Möller <emoller@opera.com> wrote:
> Hi,
> seems to be a small error in the gl-vertexattribpointer test. It's checking
> that gl.vertexAttribPointer(0, 1, gl.FLOAT, 0, 255, 0); is allowed. Should
> be changed to gl.BYTE so the stride is a valid multiple of the type size.

Sure I can change it. I'm curious though, why the change from the OpenGL spec? There are lots of things I would love to change about OpenGL, why this one in particular?

CC'ing Gregg. Looking at that test, it seems to me it should be split
into two sections, one with valid offsets and one with invalid offsets
verifying that INVALID_OPERATION is generated.

> Also a reference from drawElements and vertexAttribPointer to section 6.3
> would be good.



> --
> Erik Möller
> Core Developer
> Opera Software
> -----------------------------------------------------------
> You are currently subscribed to public_webgl@khronos.org.
> To unsubscribe, send an email to majordomo@khronos.org with
> the following command in the body of your email: