Summary: | drawElements should raise INVALID_OPERATION if offset is not a multiple of the type size | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Zhenyao Mo <zmo> | ||||
Component: | WebGL | Assignee: | Zhenyao Mo <zmo> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, cmarrin, commit-queue, enne, eric, kbr, webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Zhenyao Mo
2010-12-29 14:59:30 PST
After re-examine the code, it seems that this is already taken care of in WebGLRenderingContext::validateElementArraySize. However, we don't have tests covering this behavior. I'll add test cases. Created attachment 77648 [details]
Patch
Comment on attachment 77648 [details]
Patch
I like test cases. :)
Comment on attachment 77648 [details] Patch Clearing flags on attachment: 77648 Committed r74777: <http://trac.webkit.org/changeset/74777> All reviewed patches have been landed. Closing bug. http://trac.webkit.org/changeset/74777 might have broken GTK Linux 64-bit Debug The following tests are not passing: editing/selection/extend-by-character-005.html |