mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Implement missing WebGLShader checks
Methods compileShader and getShaderParameter should emit an error when the shader has been deleted.
This commit is contained in:
parent
a62bed82e4
commit
20a309f037
3 changed files with 98 additions and 65 deletions
|
@ -1,2 +1,19 @@
|
|||
[program-test.html]
|
||||
expected: CRASH
|
||||
[WebGL test #53: getError expected: INVALID_OPERATION. Was NO_ERROR : drawing with a null program should generate INVALID_OPERATION]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #58: linking should fail with in-use formerly good program, with new bad shader attached]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #64: getError expected: NO_ERROR. Was INVALID_OPERATION : delete the current program shouldn't change the current rendering state]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #65: getError expected: NO_ERROR. Was INVALID_OPERATION : The current program shouldn't be deleted]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #69: an attached shader shouldn't be deleted]
|
||||
expected: FAIL
|
||||
|
||||
[WebGL test #70: getError expected: INVALID_VALUE. Was INVALID_OPERATION : a delete-marked program should be deleted once it's no longer the current program]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue