Bug 48601

Summary: drawArrays/drawElements with first/offset out of range but size==0 should generate no error
Product: WebKit Reporter: Zhenyao Mo <zmo>
Component: WebGLAssignee: Zhenyao Mo <zmo>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin, commit-queue, enne, kbr
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 48635    
Attachments:
Description Flags
patch none

Description Zhenyao Mo 2010-10-28 17:20:29 PDT
Currently we generate INVALID_OPERATION; per discussion on WebGL mail-list, no error should be generated in these cases.
Comment 1 Zhenyao Mo 2010-10-28 17:57:49 PDT
Created attachment 72275 [details]
patch

Tests synced with khronos.
Comment 2 WebKit Commit Bot 2010-10-29 06:35:28 PDT
Comment on attachment 72275 [details]
patch

Clearing flags on attachment: 72275

Committed r70867: <http://trac.webkit.org/changeset/70867>
Comment 3 WebKit Commit Bot 2010-10-29 06:35:33 PDT
All reviewed patches have been landed.  Closing bug.