Simplify gl.getShaderParameter() (fixes #20562)

The expectation change is due to the shader now using its DOM-side compile status.
It is actually a bug for the shader to think it actually compiled successfully,
but at least it does so consistently now.
This commit is contained in:
Anthony Ramine 2018-07-30 15:57:31 +02:00
parent a0fc4c9832
commit 76f23f7d78
5 changed files with 13 additions and 41 deletions

View file

@ -13,7 +13,7 @@
[WebGL test #2: [unexpected fragment shader compile status\] (expected: true) vertex shader with variant varying and fragment shader with invariant (global setting) varying must fail]
expected: FAIL
[WebGL test #9: [unexpected fragment shader compile status\] (expected: true) vertex shader with invariant varying and fragment shader with invariant (global setting) varying must succeed]
[WebGL test #9: [unexpected link status\] vertex shader with invariant varying and fragment shader with invariant (global setting) varying must succeed]
expected: FAIL
[WebGL test #11: [unexpected link status\] vertex shader with variant gl_Position and fragment shader with invariant gl_FragCoord must fail]