Bug 212286 - [ANGLE - macOS] fast/canvas/webgl/simulated-vertexAttrib0-invalid-indicies.html fails to error out with a huge index
Summary: [ANGLE - macOS] fast/canvas/webgl/simulated-vertexAttrib0-invalid-indicies.ht...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on: 208724 208817
Blocks: 207858
  Show dependency treegraph
Reported: 2020-05-22 16:28 PDT by Justin Fan
Modified: 2020-05-22 16:51 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Justin Fan 2020-05-22 16:28:51 PDT
We should be using ANGLE's simulated vertex attribute code now, but it is failing this old test.
Comment 1 Radar WebKit Bug Importer 2020-05-22 16:29:07 PDT
Comment 2 Kenneth Russell 2020-05-22 16:48:37 PDT
Per discussion with Justin: while the test is technically invalid (it's legal to not generate INVALID_OPERATION for the draw call), Apple's OpenGL driver doesn't support KHR_robustness or KHR_robust_buffer_access_behavior. Therefore it seems that ANGLE should be doing the index validation, discovering that the draw call is invalid, and generating an error.

Justin: could you post the current results of the test on macOS here?
Comment 3 Justin Fan 2020-05-22 16:51:50 PDT
PASS: MAX_UINT index was unable to be simulated
PASS: MAX_UINT index did not crash
FAIL: Huge index did not fail validation
PASS: Huge index did not crash