| This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL. |
| |
| Test: ../../resources/webgl_test_files/conformance/extensions/oes-texture-float.html |
| [ 1: PASS ] WebGL context exists |
| [ 2: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 3: PASS ] getError was expected value: INVALID_ENUM : floating-point texture allocation must be disallowed if OES_texture_float isn't enabled |
| [ 4: PASS ] Successfully enabled OES_texture_float extension |
| [ 5: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 6: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 7: PASS ] should be green |
| [ 8: FAIL ] at (0, 0) expected: 255,0,0,255 was 0,255,0,255 |
| [ 9: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 10: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 11: PASS ] should be green |
| [ 12: FAIL ] at (0, 0) expected: 255,0,0,255 was 0,255,0,255 |
| [ 13: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 14: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 15: PASS ] should be green |
| [ 16: FAIL ] at (0, 0) expected: 255,0,0,255 was 0,255,0,255 |
| [ 17: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 18: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 19: PASS ] should be green |
| [ 20: FAIL ] at (0, 0) expected: 255,0,0,255 was 0,255,0,255 |
| [ 21: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 22: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 23: PASS ] should be green |
| [ 24: FAIL ] at (0, 0) expected: 255,0,0,255 was 0,255,0,255 |
| [ 25: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 26: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 27: PASS ] getError was expected value: NO_ERROR : rendering to floating-point texture should succeed |
| [ 28: PASS ] getError was expected value: NO_ERROR : rendering from floating-point texture should succeed |
| [ 29: PASS ] should be green |
| [ 30: FAIL ] getError expected: NO_ERROR. Was INVALID_ENUM : getParameter of IMPLEMENTATION_COLOR_READ_{FORMAT|TYPE} should succeed |
| [ 31: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 32: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 33: PASS ] getError was expected value: NO_ERROR : rendering to floating-point texture should succeed |
| [ 34: PASS ] getError was expected value: NO_ERROR : rendering from floating-point texture should succeed |
| [ 35: PASS ] should be green |
| [ 36: FAIL ] getError expected: NO_ERROR. Was INVALID_ENUM : getParameter of IMPLEMENTATION_COLOR_READ_{FORMAT|TYPE} should succeed |
| [ 37: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 38: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 39: PASS ] getError was expected value: NO_ERROR : texSubImage2D should succeed if OES_texture_float is enabled |
| [ 40: PASS ] getError was expected value: NO_ERROR : rendering to floating-point texture should succeed |
| [ 41: PASS ] getError was expected value: NO_ERROR : rendering from floating-point texture should succeed |
| [ 42: PASS ] should be green |
| [ 43: FAIL ] getError expected: NO_ERROR. Was INVALID_ENUM : getParameter of IMPLEMENTATION_COLOR_READ_{FORMAT|TYPE} should succeed |
| [ 44: PASS ] getError was expected value: NO_ERROR : texture parameter setup should succeed |
| [ 45: PASS ] getError was expected value: NO_ERROR : floating-point texture allocation should succeed if OES_texture_float is enabled |
| [ 46: PASS ] getError was expected value: NO_ERROR : texSubImage2D should succeed if OES_texture_float is enabled |
| [ 47: PASS ] getError was expected value: NO_ERROR : rendering to floating-point texture should succeed |
| [ 48: PASS ] getError was expected value: NO_ERROR : rendering from floating-point texture should succeed |
| [ 49: PASS ] should be green |
| [ 50: FAIL ] getError expected: NO_ERROR. Was INVALID_ENUM : getParameter of IMPLEMENTATION_COLOR_READ_{FORMAT|TYPE} should succeed |
| [ 51: PASS ] gl.getExtension("OES_texture_float").myProperty is 2 |
| [ 52: PASS ] successfullyParsed is true |
| [ FAIL ] 9 failures reported |
| |