Validate bound buffer for draw calls
DrawArrays or drawElements should generate invalid operation error if no buffer is bound to enabled attribution. Refer WebGL 1.0 spec for details in section 6.5 "Enabled Vertex Attributes and Range Checking". BUG=295792 TEST=conformance2/vertex_arrays/vertex-array-object.html CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2019513004 Cr-Commit-Position: refs/heads/master@{#398246}
Showing
Please register or sign in to comment