blob: 3962aabbc40b3e89255be8ae2bf1b8aff56421cb [file] [log] [blame]
This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.
Test: ../../resources/webgl_test_files/conformance2/rendering/blitframebuffer-test.html
[ 1: PASS ] WebGL context exists
[ 2: PASS ] should be red at first
[ 3: PASS ] should be green
[ 4: PASS ] getError was expected value: NO_ERROR : blitFramebuffer should succeed.
[ 5: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer should generate INVALID_OPERATION if read/draw buffer are identical.
[ 6: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer should generate INVALID_OPERATION if read/draw buffer are identical.
[ 7: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer should generate INVALID_OPERATION if read/draw color buffer are identical.
[ 8: PASS ] getError was expected value: NO_ERROR : blitFramebuffer should succeed if read/draw buffer has the same image with different levels.
[ 9: PASS ] getError was expected value: NO_ERROR : blitFramebuffer should succeed if read/draw buffer has the same CUBE_MAP image with different faces.
[ 10: FAIL ] getError expected: NO_ERROR. Was INVALID_ENUM : blitFramebuffer should succeed if read/draw buffer has the same 3D/2D_ARRAY image with different layers.
[ 11: PASS ] getError was expected value: NO_ERROR : blitFramebuffer should succeed.
[ 12: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer should generate INVALID_OPERATION if read/draw framebuffer have identical depth buffer attachment.
[ 13: PASS ] getError was expected value: NO_ERROR : blitFramebuffer should succeed.
[ 14: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer should generate INVALID_OPERATION if read/draw framebuffer have identical stencil buffer attachment.
[ 15: PASS ] getError was expected value: NO_ERROR : blitFramebuffer should succeed.
[ 16: PASS ] getError was expected value: NO_ERROR : blitFramebuffer should succeed.
[ 17: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer should generate INVALID_OPERATION if read/draw buffers have identical color buffer attachment.
[ 18: FAIL ] getError expected: NO_ERROR. Was INVALID_ENUM : blitFramebuffer from multisampled srgb image should succeed.
[ 19: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer to a multisampled srgb image should generate INVALID_OPERATION.
[ 20: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer from a multisampled srgb image, the src region and the dst region must be exactly the same.
[ 21: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer from a multisampled srgb image, the src region and the dst region must be exactly the same.
[ 22: PASS ] getError was expected value: INVALID_OPERATION : blitFramebuffer from a multisampled srgb image, the format/type must be exactly the same.
[ 23: PASS ] successfullyParsed is true
[ FAIL ] 2 failures reported