Bug 212286

Summary: [ANGLE - macOS] fast/canvas/webgl/simulated-vertexAttrib0-invalid-indicies.html fails to error out with a huge index
Product: WebKit Reporter: Justin Fan <justin_fan>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dino, jdarpinian, kbr, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 208724, 208817    
Bug Blocks: 207858    

Justin Fan
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-05-22 16:29:07 PDT
Kenneth Russell
Comment 2 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?
Justin Fan
Comment 3 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
Note You need to log in before you can comment on or make changes to this bug.