Bug 67633 - vertexattribpointer, data stride should not exceed 255
Summary: vertexattribpointer, data stride should not exceed 255
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Trivial
Assignee: Nobody
Depends on:
Reported: 2011-09-06 00:48 PDT by Tapani Pälli
Modified: 2011-09-06 01:15 PDT (History)
1 user (show)

See Also:

check for vertexAttribPointer (629 bytes, patch)
2011-09-06 01:04 PDT, Tapani Pälli
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tapani Pälli 2011-09-06 00:48:24 PDT
WebGL specification states that data stride for vertexAttribPointer should not be greater than 255.

Attached patch modifies GraphicsContext3DOpenGL to synthesize INVALID_VALUE as per spec.
Comment 1 Tapani Pälli 2011-09-06 01:01:46 PDT
CC Chris for comments
Comment 2 Tapani Pälli 2011-09-06 01:04:45 PDT
Created attachment 106398 [details]
check for vertexAttribPointer
Comment 3 Tapani Pälli 2011-09-06 01:15:18 PDT
sorry for the noise :/ now I see WebGLRenderingContext has the appropriate checks.