Bug 67633

Summary: vertexattribpointer, data stride should not exceed 255
Product: WebKit Reporter: Tapani Pälli <tapani.palli>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Trivial CC: cmarrin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
check for vertexAttribPointer none

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.