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

Re: [Public WebGL] vertexAttribPointer conformance test



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.

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.

Added.

-Ken

> --
> 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:
>
>

-----------------------------------------------------------
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: