Bug 48677

Summary: vertexAttribPointer should generate INVALID_VALUE if the stride exceeds 255
Product: WebKit Reporter: Zhenyao Mo <zmo>
Component: WebGLAssignee: Zhenyao Mo <zmo>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin, enne, kbr
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
patch kling: review+, zmo: commit-queue-

Description Zhenyao Mo 2010-10-29 14:20:40 PDT
WebGL spec:

6.6 Vertex Attribute Data Stride

The WebGL API supports vertex attribute data strides up to 255 bytes. A call to vertexAttribPointer will generate an INVALID_VALUE error if the value for the stride parameter exceeds 255.
Comment 1 Zhenyao Mo 2010-11-01 15:42:47 PDT
Created attachment 72576 [details]
patch

Test synched with khronos.
Comment 2 Andreas Kling 2010-11-01 17:10:27 PDT
Comment on attachment 72576 [details]
patch

r=me
Comment 3 Zhenyao Mo 2010-11-02 09:44:51 PDT
Committed r71123: <http://trac.webkit.org/changeset/71123>