[Public WebGL] questions about vertexAttribPointer / getVertexAttrib offsets

Boris Zbarsky [email protected]
Mon Apr 23 12:06:37 PDT 2012


On 4/23/12 2:43 PM, Gregg Tavares (勤) wrote:
> There's at least one negative offset test in
> https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/more/functions/vertexAttribPointerBadArgs.html

Doesn't that call fail per current spec because the offset (-1) is not a 
multiple of sizeof(float), independently of what negative offset 
handling looks like?  My Gecko build with the negative offset check in 
vertexAttribPointer removed passes this test, precisely for that reason:

   VertexAttribPointer: byteOffset doesn't satisfy the alignment 
requirement of given type @ 
https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests/conformance/more/util.js:965

-Boris

-----------------------------------------------------------
You are currently subscribed to [email protected]
To unsubscribe, send an email to [email protected] with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------





More information about the public_webgl mailing list