blob: c8525032090eb787c43959807ca520cc8e49fad2 [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/attrib-type-match.html
[ 1: PASS ] WebGL context exists
[ 2: PASS ] getError was expected value: NO_ERROR : No GL error from set up
[ 3: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 4: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : drawArrays succeeds: type in shader mismatch default vertex type is valid for inactive attrib
[ 5: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 6: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : drawArrays succeeds: type in shader mismatch vertexAttrib type is valid for inactive attrib
[ 7: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 8: PASS ] getError was expected value: INVALID_OPERATION : Type mismatch: type in shader mismatch the default type for a vertex attrib
[ 9: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 10: PASS ] getError was expected value: INVALID_OPERATION : Type mismatch: type in shader mismatch the default type for a vertex attrib
[ 11: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 12: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : drawArrays succeeds
[ 13: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 14: PASS ] getError was expected value: INVALID_OPERATION : Type mismatch: generic attrib is valid per context. 'a' is set to int type by previous test case
[ 15: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 16: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : drawArrays succeeds: default type of generic attrib is float
[ 17: PASS ] getError was expected value: NO_ERROR : No GL error from set up
[ 18: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 19: PASS ] getError was expected value: NO_ERROR : drawArrays succeeds
[ 20: FAIL ] should be 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
[ 21: PASS ] getError was expected value: NO_ERROR : drawArraysInstanced succeeds
[ 22: FAIL ] should be 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
[ 23: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 24: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 25: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 26: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 27: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 28: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 29: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 30: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 31: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 32: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 33: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 34: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 35: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 36: PASS ] getError was expected value: NO_ERROR : drawElements succeeds
[ 37: FAIL ] should be 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
[ 38: PASS ] getError was expected value: NO_ERROR : drawRangeElements succeeds
[ 39: FAIL ] should be 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
[ 40: PASS ] getError was expected value: NO_ERROR : drawElementsInstanced succeeds
[ 41: FAIL ] should be 255,0,0,255 at (0, 0) expected: 255,0,0,255 was 0,0,0,0
[ 42: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 43: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 44: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 45: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 46: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 47: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 48: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 49: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 50: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 51: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 52: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 53: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 54: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 55: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 56: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 57: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 58: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 59: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 60: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 61: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : drawArrays succeeds
[ 62: FAIL ] should be 0,255,0,255 at (0, 0) expected: 0,255,0,255 was 0,0,0,0
[ 63: FAIL ] getError expected: NO_ERROR. Was INVALID_OPERATION : drawArraysInstanced succeeds
[ 64: FAIL ] should be 0,255,0,255 at (0, 0) expected: 0,255,0,255 was 0,0,0,0
[ 65: PASS ] getError was expected value: INVALID_OPERATION : type mismatch
[ 66: PASS ] getError was expected value: INVALID_OPERATION : type mismatch
[ 67: PASS ] getError was expected value: INVALID_OPERATION : type mismatch
[ 68: PASS ] getError was expected value: INVALID_OPERATION : type mismatch
[ 69: PASS ] getError was expected value: INVALID_OPERATION : type mismatch
[ 70: PASS ] getError was expected value: INVALID_OPERATION : type mismatch
[ 71: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 72: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 73: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 74: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 75: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 76: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 77: PASS ] getError was expected value: NO_ERROR : Setting up succeeds
[ 78: PASS ] getError was expected value: NO_ERROR : drawElements succeeds
[ 79: FAIL ] should be 0,255,0,255 at (0, 0) expected: 0,255,0,255 was 0,0,0,0
[ 80: PASS ] getError was expected value: NO_ERROR : drawRangeElements succeeds
[ 81: FAIL ] should be 0,255,0,255 at (0, 0) expected: 0,255,0,255 was 0,0,0,0
[ 82: PASS ] getError was expected value: NO_ERROR : drawElementsInstanced succeeds
[ 83: FAIL ] should be 0,255,0,255 at (0, 0) expected: 0,255,0,255 was 0,0,0,0
[ 84: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 85: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 86: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 87: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 88: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 89: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 90: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 91: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 92: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 93: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 94: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 95: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 96: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 97: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 98: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 99: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 100: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 101: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : type mismatch
[ 102: PASS ] successfullyParsed is true
[ FAIL ] 70 failures reported