InstancedArray crashes attempting to draw out of bounds
<rdar://problem/17540398>
Created attachment 243088 [details] Patch
Comment on attachment 243088 [details] Patch Attachment 243088 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5385253694734336 New failing tests: fast/canvas/webgl/angle-instanced-arrays-out-of-bounds.html
Created attachment 243115 [details] Archive of layout-test-results from ews100 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Comment on attachment 243088 [details] Patch Attachment 243088 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5963765388410880 New failing tests: fast/canvas/webgl/angle-instanced-arrays-out-of-bounds.html
Created attachment 243116 [details] Archive of layout-test-results from ews106 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Created attachment 243131 [details] Patch
Comment on attachment 243131 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243131&action=review > Source/WebCore/html/canvas/WebGLRenderingContext.cpp:2061 > +bool WebGLRenderingContext::validateDrawElements(const char* functionName, GC3Denum mode, GC3Dsizei count, GC3Denum type, long long offset, unsigned& numElements, GC3Dsizei primcount) primitiveCount?
Committed r177165: <http://trac.webkit.org/changeset/177165>