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

RE: [Public WebGL] Need to spec range checking for WebGL ANGLE_instanced_arrays?



Indices of non-instanced attributes require the same range checks as attribute indices normally do, they're just used multiple times when doing instanced drawing. Instanced attributes require a different range check. These checks are being done by at least Chrome, but there's no explicit spec for them. Any range checks for instanced drawing are not tested by the conformance tests either.
________________________________________
From: Florian Bösch [pyalot@gmail.com]
Sent: Monday, March 10, 2014 6:15 PM
To: Olli Etuaho
Cc: public_webgl@khronos.org
Subject: Re: [Public WebGL] Need to spec range checking for WebGL ANGLE_instanced_arrays?

Isn't range checking of draw commands via instanced arrays quite a bit different than normally because vertex attrib pointers can wrap around to the beginning?


On Mon, Mar 10, 2014 at 4:53 PM, Olli Etuaho <oetuaho@nvidia.com<mailto:oetuaho@nvidia.com>> wrote:

Hi all,

I noticed that there doesn't seem to be a specification for range checking of buffer indices as it comes to ANGLE_instanced_arrays WebGL extension. The main spec naturally only talks about the vanilla drawArrays and drawElements, and the extension spec doesn't really mention this. Should we add a mention to the extension spec at http://www.khronos.org/registry/webgl/extensions/ANGLE_instanced_arrays/ , or is the interpretation the instanced variants are somehow implicitly covered by the range checking section in the main spec?

-Olli
-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org<mailto:public_webgl@khronos.org>.
To unsubscribe, send an email to majordomo@khronos.org<mailto:majordomo@khronos.org> with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------



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