Bug 48601 - drawArrays/drawElements with first/offset out of range but size==0 should generate no error
Summary: drawArrays/drawElements with first/offset out of range but size==0 should gen...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Zhenyao Mo
URL:
Keywords:
Depends on:
Blocks: 48635
  Show dependency treegraph
 
Reported: 2010-10-28 17:20 PDT by Zhenyao Mo
Modified: 2010-10-29 09:49 PDT (History)
4 users (show)

See Also:


Attachments
patch (9.33 KB, patch)
2010-10-28 17:57 PDT, Zhenyao Mo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.