Add support for WebGL2 TexImage2D

Adds initial support for one of the WebGL2 `TexImage2D` call.
This commit is contained in:
Istvan Miklos
2020-05-18 13:30:39 +02:00
parent ce076a8382
commit b298160ff2
72 changed files with 739 additions and 7 deletions

View File

@@ -0,0 +1,26 @@
[tex-2d-rgba32f-rgba-float.html]
expected: ERROR
[WebGL test #10: getError expected: NO_ERROR. Was INVALID_ENUM : after evaluating: gl.pixelStorei(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, gl.NONE);]
expected: FAIL
[WebGL test #16: getError expected: NO_ERROR. Was INVALID_ENUM : after evaluating: gl.pixelStorei(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, gl.NONE);]
expected: FAIL
[WebGL test #9: shouldBe 255,0,0\nat (4, 24) expected: 255,0,0 was 0,255,0]
expected: FAIL
[WebGL test #19: getError expected: NO_ERROR. Was INVALID_ENUM : after evaluating: gl.pixelStorei(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, gl.NONE);]
expected: FAIL
[WebGL test #17: shouldBe 255,0,0\nat (4, 4) expected: 255,0,0 was 0,255,0]
expected: FAIL
[WebGL test #14: shouldBe 0,255,0\nat (4, 4) expected: 0,255,0 was 255,0,0]
expected: FAIL
[WebGL test #13: getError expected: NO_ERROR. Was INVALID_ENUM : after evaluating: gl.pixelStorei(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, gl.NONE);]
expected: FAIL
[WebGL test #12: shouldBe 0,255,0\nat (4, 24) expected: 0,255,0 was 255,0,0]
expected: FAIL