From 9a362391d582cb857e0fb9a81f6dfc39de5e65d9 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sat, 8 Sep 2018 19:24:24 +0200 Subject: [PATCH 1/5] Fix the LUMINANCE_ALPHA case of rgba8_image_to_tex_image_data The internal format and format values match, thus the canvas or image input must be interpreted as already in LUMINANCE_ALPHA format. --- .../script/dom/webglrenderingcontext.rs | 2 +- ...pha-luminance_alpha-unsigned_byte.html.ini | 708 +----------------- ...pha-luminance_alpha-unsigned_byte.html.ini | 25 - ...pha-luminance_alpha-unsigned_byte.html.ini | 505 ------------- .../tex-image-with-format-and-type.html.ini | 12 - 5 files changed, 19 insertions(+), 1233 deletions(-) delete mode 100644 tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini delete mode 100644 tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index dc43e41c277..152f98e1281 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -4048,7 +4048,7 @@ fn rgba8_image_to_tex_image_data( for i in 0..pixel_count { let (lum, a) = { let rgba = &pixels[i * 4..i * 4 + 4]; - (luminance(rgba[0], rgba[1], rgba[2]), rgba[3]) + (rgba[0], rgba[3]) }; pixels[i * 2] = lum; pixels[i * 2 + 1] = a; diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini index d96cf39be4c..c50401634ea 100644 --- a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini @@ -1,759 +1,87 @@ [tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] bug: https://github.com/servo/servo/issues/11681 prefs: [dom.canvas-text.enabled:true] - [WebGL test #227: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #231: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #114: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #21: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #118: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #197: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #110: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #63: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #205: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #127: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #4: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #33: font missing] - expected: FAIL - - [WebGL test #76: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - [WebGL test #245: font missing] expected: FAIL - [WebGL test #9: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #271: font missing] - expected: FAIL - - [WebGL test #187: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #20: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - [WebGL test #251: font missing] expected: FAIL - [WebGL test #134: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #50: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #157: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #213: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #10: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #123: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #162: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #172: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #221: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #182: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #154: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #80: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #132: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #211: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #112: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #68: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #153: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #61: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #72: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #89: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - [WebGL test #265: font missing] expected: FAIL - [WebGL test #229: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #228: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #138: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - [WebGL test #39: font missing] expected: FAIL - [WebGL test #119: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #161: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #203: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #24: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #53: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #181: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #156: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #225: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #217: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #116: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #92: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #29: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #207: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] + [WebGL test #33: font missing] expected: FAIL [WebGL test #275: font missing] expected: FAIL - [WebGL test #141: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - [WebGL test #237: font missing] expected: FAIL - [WebGL test #212: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #56: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #133: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #55: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #117: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #239: font missing] - expected: FAIL - - [WebGL test #160: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #267: font missing] - expected: FAIL - - [WebGL test #167: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #173: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #131: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #137: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - [WebGL test #273: font missing] expected: FAIL - [WebGL test #91: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #60: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #98: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #111: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #189: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #49: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #204: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #263: font missing] - expected: FAIL - - [WebGL test #130: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #84: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #99: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #8: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #185: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #183: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #180: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #158: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #139: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #105: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #210: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #171: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #144: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #108: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #85: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #159: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #11: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #166: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #88: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #71: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #115: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #13: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #125: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #220: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #124: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #121: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #5: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #143: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #184: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #192: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #219: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #12: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #27: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #26: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #2: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #233: font missing] - expected: FAIL - - [WebGL test #109: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #95: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #66: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #177: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #52: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #18: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #6: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #218: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #96: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #188: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #3: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #87: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #201: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #269: font missing] - expected: FAIL - - [WebGL test #202: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #155: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #79: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #15: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #179: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #255: font missing] - expected: FAIL - - [WebGL test #102: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #223: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #64: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #170: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #174: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #169: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - [WebGL test #277: font missing] expected: FAIL - [WebGL test #142: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #148: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #200: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #47: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #70: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #22: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #86: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #65: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #199: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #100: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #90: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #164: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #113: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #222: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] + [WebGL test #239: font missing] expected: FAIL [WebGL test #249: font missing] expected: FAIL - [WebGL test #46: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #178: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #17: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #122: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #94: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #14: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #194: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #214: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #59: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #81: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #186: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #107: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #28: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #209: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #104: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #120: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #1: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #43: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #40: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #151: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #163: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #75: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #128: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #19: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #247: font missing] - expected: FAIL - - [WebGL test #74: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #67: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #77: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #176: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #82: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #31: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #230: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #259: font missing] - expected: FAIL - - [WebGL test #140: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #37: font missing] - expected: FAIL - - [WebGL test #35: font missing] - expected: FAIL - - [WebGL test #152: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #193: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #136: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #42: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #73: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #7: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #146: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #145: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] + [WebGL test #267: font missing] expected: FAIL [WebGL test #241: font missing] expected: FAIL - [WebGL test #97: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] + [WebGL test #255: font missing] expected: FAIL - [WebGL test #198: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] + [WebGL test #233: font missing] expected: FAIL - [WebGL test #62: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #78: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #135: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #208: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #57: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #44: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #196: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #226: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #69: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #175: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #168: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #58: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #149: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #83: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #0: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #206: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #30: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #224: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #25: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #129: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #216: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #106: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #279: font missing] - expected: FAIL - - [WebGL test #215: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #257: font missing] - expected: FAIL - - [WebGL test #51: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #126: shouldBe 127,127,127,127\nat (0, 0) expected: 127,127,127,127 was 26,26,26,128] - expected: FAIL - - [WebGL test #243: font missing] - expected: FAIL - - [WebGL test #190: shouldBe 127,127,127,127\nat (0, 16) expected: 127,127,127,127 was 26,26,26,128] + [WebGL test #37: font missing] expected: FAIL [WebGL test #253: font missing] expected: FAIL - [WebGL test #103: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] + [WebGL test #271: font missing] expected: FAIL - [WebGL test #54: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] + [WebGL test #247: font missing] expected: FAIL - [WebGL test #235: font missing] + [WebGL test #263: font missing] expected: FAIL - [WebGL test #23: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] + [WebGL test #259: font missing] expected: FAIL - [WebGL test #45: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #191: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #93: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #101: shouldBe 0,0,0,127\nat (0, 16) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #195: shouldBe 0,0,0,127\nat (0, 0) expected: 0,0,0,127 was 89,89,89,128] - expected: FAIL - - [WebGL test #147: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #16: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] + [WebGL test #35: font missing] expected: FAIL [WebGL test #261: font missing] expected: FAIL - [WebGL test #41: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] + [WebGL test #279: font missing] expected: FAIL - [WebGL test #165: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] + [WebGL test #257: font missing] expected: FAIL - [WebGL test #150: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] + [WebGL test #243: font missing] expected: FAIL - [WebGL test #48: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] + [WebGL test #235: font missing] + expected: FAIL + + [WebGL test #269: font missing] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini deleted file mode 100644 index 4a319cad454..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,25 +0,0 @@ -[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] - [WebGL test #3: shouldBe 0,0,0\nat (4, 24) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #1: shouldBe 255,255,255\nat (4, 24) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #7: shouldBe 0,0,0\nat (4, 24) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #2: shouldBe 255,255,255\nat (4, 4) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #0: shouldBe 0,0,0\nat (4, 4) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #6: shouldBe 255,255,255\nat (4, 4) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #4: shouldBe 0,0,0\nat (4, 4) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #5: shouldBe 255,255,255\nat (4, 24) expected: 255,255,255 was 54,54,54] - expected: FAIL - diff --git a/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini deleted file mode 100644 index a8b5b7d25a4..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html.ini +++ /dev/null @@ -1,505 +0,0 @@ -[tex-2d-luminance_alpha-luminance_alpha-unsigned_byte.html] - [WebGL test #137: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #92: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #1: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #102: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #206: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #184: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #96: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #64: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #69: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #176: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #159: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #143: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #33: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #41: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #106: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #167: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #124: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #108: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #162: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #26: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #73: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #37: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #139: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #10: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #43: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #210: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #70: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #84: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #22: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #58: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #190: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #188: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #144: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #130: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #146: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #65: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #170: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #21: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #75: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #142: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #0: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #67: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #79: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #28: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #90: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #71: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #212: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #19: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #76: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #145: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #35: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #47: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #49: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #120: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #18: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #68: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #178: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #157: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #12: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #72: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #151: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #45: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #3: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #6: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #62: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #198: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #155: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #82: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #98: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #222: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #141: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #192: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #156: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #168: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #53: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #46: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #54: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #172: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #166: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #147: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #78: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #194: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #59: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #140: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #182: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #110: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #132: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #30: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #44: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #174: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #216: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #63: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #5: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #42: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #133: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #134: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #171: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #24: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #131: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #116: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #165: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #163: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #128: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #23: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #161: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #94: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #34: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #136: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #122: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #52: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #148: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #8: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #20: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #158: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #36: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #39: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #186: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #129: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #175: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #173: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #169: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #150: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #160: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #60: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #208: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #48: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #196: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #14: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #164: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #218: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #2: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #7: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #61: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #86: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #202: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #16: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #88: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #66: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #100: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #38: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #149: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #104: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #135: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #50: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #154: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #77: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #200: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #4: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #17: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #214: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #138: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #80: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #55: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #152: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #153: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #74: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #220: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #118: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #114: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #57: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #180: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #40: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #112: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #204: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #126: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #51: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #32: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #56: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - diff --git a/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini b/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini index 3394dfafb19..f365deaf6cb 100644 --- a/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini @@ -1,25 +1,16 @@ [tex-image-with-format-and-type.html] - [WebGL test #31: LUMINANCE_ALPHA/UNSIGNED_BYTE should maintain full precision of data] - expected: FAIL - [WebGL test #6: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data] expected: FAIL [WebGL test #65: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4] expected: FAIL - [WebGL test #15: LUMINANCE_ALPHA/UNSIGNED_BYTE should maintain full precision of data] - expected: FAIL - [WebGL test #66: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_5_5_5_1] expected: FAIL [WebGL test #69: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4] expected: FAIL - [WebGL test #7: LUMINANCE_ALPHA/UNSIGNED_BYTE should maintain full precision of data] - expected: FAIL - [WebGL test #70: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_5_5_5_1] expected: FAIL @@ -32,6 +23,3 @@ [WebGL test #30: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data] expected: FAIL - [WebGL test #23: LUMINANCE_ALPHA/UNSIGNED_BYTE should maintain full precision of data] - expected: FAIL - From e61c7b757f17d94bf17a6c308611f664847a570d Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sat, 8 Sep 2018 19:24:24 +0200 Subject: [PATCH 2/5] Fix the LUMINANCE of rgba8_image_to_tex_image_data The internal format and format values match, thus the canvas or image input must be interpreted as already in LUMINANCE format. --- .../script/dom/webglrenderingcontext.rs | 5 +- ...luminance-luminance-unsigned_byte.html.ini | 722 +----------------- ...luminance-luminance-unsigned_byte.html.ini | 25 - ...luminance-luminance-unsigned_byte.html.ini | 505 ------------ .../tex-image-with-format-and-type.html.ini | 12 - 5 files changed, 26 insertions(+), 1243 deletions(-) delete mode 100644 tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html.ini delete mode 100644 tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index 152f98e1281..fd8962a87fb 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -4035,10 +4035,7 @@ fn rgba8_image_to_tex_image_data( }, (TexFormat::Luminance, TexDataType::UnsignedByte) => { for i in 0..pixel_count { - let p = { - let rgb = &pixels[i * 4..i * 4 + 3]; - luminance(rgb[0], rgb[1], rgb[2]) - }; + let p = pixels[i * 4]; pixels[i] = p; } pixels.truncate(pixel_count); diff --git a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini index 4925e297653..53ce1411a40 100644 --- a/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/canvas/tex-2d-luminance-luminance-unsigned_byte.html.ini @@ -1,583 +1,61 @@ [tex-2d-luminance-luminance-unsigned_byte.html] bug: https://github.com/servo/servo/issues/11681 prefs: [dom.canvas-text.enabled:true] - [WebGL test #241: font missing] - expected: FAIL - - [WebGL test #121: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #21: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #157: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #257: font missing] - expected: FAIL - - [WebGL test #63: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #4: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - [WebGL test #33: font missing] expected: FAIL - [WebGL test #76: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #222: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - [WebGL test #245: font missing] expected: FAIL - [WebGL test #155: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #191: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #127: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #20: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #175: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #218: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #132: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #50: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #196: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #189: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #192: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #137: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #210: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #162: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #172: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #43: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #30: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #154: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #80: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #203: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #97: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #68: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #153: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #61: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #72: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #184: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #243: font missing] - expected: FAIL - - [WebGL test #92: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #122: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - [WebGL test #39: font missing] expected: FAIL - [WebGL test #31: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #227: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #53: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #181: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #156: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #107: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #206: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #271: font missing] - expected: FAIL - - [WebGL test #188: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #265: font missing] - expected: FAIL - - [WebGL test #213: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #51: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #275: font missing] - expected: FAIL - - [WebGL test #112: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #223: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #237: font missing] - expected: FAIL - - [WebGL test #168: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #56: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #134: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #166: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #55: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #129: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #239: font missing] - expected: FAIL - - [WebGL test #160: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #267: font missing] - expected: FAIL - - [WebGL test #167: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #173: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #93: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #221: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #207: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #273: font missing] - expected: FAIL - - [WebGL test #60: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #179: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #199: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #90: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #49: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #28: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #263: font missing] - expected: FAIL - - [WebGL test #84: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #7: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #226: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #13: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #91: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #100: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #180: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #117: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #139: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #171: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #144: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #215: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #85: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #159: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #195: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - [WebGL test #251: font missing] expected: FAIL - [WebGL test #71: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] + [WebGL test #275: font missing] expected: FAIL - [WebGL test #124: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] + [WebGL test #273: font missing] expected: FAIL - [WebGL test #148: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #14: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #5: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #143: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #261: font missing] - expected: FAIL - - [WebGL test #269: font missing] - expected: FAIL - - [WebGL test #24: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #141: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #135: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #133: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #25: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #108: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #65: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #2: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] + [WebGL test #237: font missing] expected: FAIL [WebGL test #233: font missing] expected: FAIL - [WebGL test #104: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] + [WebGL test #249: font missing] expected: FAIL - [WebGL test #66: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] + [WebGL test #265: font missing] expected: FAIL - [WebGL test #177: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #52: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #18: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #209: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #6: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #211: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #201: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #3: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #11: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #109: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #98: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #87: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #202: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #26: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #110: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #114: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #105: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #79: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #99: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #123: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #220: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #212: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] + [WebGL test #269: font missing] expected: FAIL [WebGL test #255: font missing] expected: FAIL - [WebGL test #64: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #170: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #174: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #169: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - [WebGL test #277: font missing] expected: FAIL - [WebGL test #142: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #130: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #47: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #194: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #70: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #22: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #86: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #187: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #208: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #113: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #185: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #116: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #200: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #164: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #204: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #186: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #249: font missing] - expected: FAIL - - [WebGL test #101: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #46: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #15: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #178: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #118: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #17: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #205: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #59: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #81: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #95: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #94: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #214: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #119: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #1: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #8: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #190: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #219: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #40: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #151: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #224: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #217: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #163: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #75: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #19: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #228: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #247: font missing] - expected: FAIL - - [WebGL test #102: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #74: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #67: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #77: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #176: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #82: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - [WebGL test #259: font missing] expected: FAIL - [WebGL test #96: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] + [WebGL test #253: font missing] + expected: FAIL + + [WebGL test #271: font missing] + expected: FAIL + + [WebGL test #247: font missing] + expected: FAIL + + [WebGL test #263: font missing] + expected: FAIL + + [WebGL test #235: font missing] expected: FAIL [WebGL test #37: font missing] @@ -586,174 +64,24 @@ [WebGL test #35: font missing] expected: FAIL - [WebGL test #152: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] + [WebGL test #241: font missing] expected: FAIL - [WebGL test #9: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] + [WebGL test #267: font missing] expected: FAIL - [WebGL test #136: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #42: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #73: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #231: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #12: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #29: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #198: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #140: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #146: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #182: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #62: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #78: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #225: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #89: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #57: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #44: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #69: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #88: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #183: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #106: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #138: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #58: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #149: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #83: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #0: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #103: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #158: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #197: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #115: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #128: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #145: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #229: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #111: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] + [WebGL test #261: font missing] expected: FAIL [WebGL test #279: font missing] expected: FAIL - [WebGL test #126: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] + [WebGL test #257: font missing] expected: FAIL - [WebGL test #27: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] + [WebGL test #243: font missing] expected: FAIL - [WebGL test #10: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #253: font missing] - expected: FAIL - - [WebGL test #161: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #230: shouldBe 127,127,127,255\nat (0, 0) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #54: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #235: font missing] - expected: FAIL - - [WebGL test #23: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #45: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #125: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #147: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #16: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #131: shouldBe 0,0,0,255\nat (0, 16) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #120: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #193: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 89,89,89,255] - expected: FAIL - - [WebGL test #41: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #216: shouldBe 127,127,127,255\nat (0, 16) expected: 127,127,127,255 was 26,26,26,255] - expected: FAIL - - [WebGL test #165: shouldBe 0,0,0,255\nat (0, 0) expected: 0,0,0,255 was 182,182,182,255] - expected: FAIL - - [WebGL test #150: shouldBe 255,255,255,255\nat (0, 0) expected: 255,255,255,255 was 54,54,54,255] - expected: FAIL - - [WebGL test #48: shouldBe 255,255,255,255\nat (0, 16) expected: 255,255,255,255 was 54,54,54,255] + [WebGL test #239: font missing] expected: FAIL diff --git a/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html.ini deleted file mode 100644 index f3a2412525e..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image/tex-2d-luminance-luminance-unsigned_byte.html.ini +++ /dev/null @@ -1,25 +0,0 @@ -[tex-2d-luminance-luminance-unsigned_byte.html] - [WebGL test #3: shouldBe 0,0,0\nat (4, 24) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #1: shouldBe 255,255,255\nat (4, 24) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #7: shouldBe 0,0,0\nat (4, 24) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #2: shouldBe 255,255,255\nat (4, 4) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #0: shouldBe 0,0,0\nat (4, 4) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #6: shouldBe 255,255,255\nat (4, 4) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #4: shouldBe 0,0,0\nat (4, 4) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #5: shouldBe 255,255,255\nat (4, 24) expected: 255,255,255 was 54,54,54] - expected: FAIL - diff --git a/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini b/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini deleted file mode 100644 index e4b4939efdc..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/image_data/tex-2d-luminance-luminance-unsigned_byte.html.ini +++ /dev/null @@ -1,505 +0,0 @@ -[tex-2d-luminance-luminance-unsigned_byte.html] - [WebGL test #137: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #92: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #1: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #102: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #206: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #184: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #96: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #64: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #69: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #176: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #159: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #143: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #33: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #41: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #106: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #167: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #124: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #108: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #162: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #26: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #73: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #37: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #139: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #10: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #43: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #210: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #70: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #84: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #22: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #58: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #190: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #188: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #144: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #130: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #146: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #65: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #170: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #21: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #75: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #142: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #0: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #67: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #79: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #28: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #90: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #71: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #212: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #19: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #76: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #145: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #35: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #47: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #49: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #120: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #18: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #68: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #178: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #157: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #12: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #72: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #151: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #45: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #3: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #6: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #62: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #198: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #155: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #82: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #98: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #222: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #141: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #192: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #156: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #168: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #53: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #46: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #54: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #172: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #166: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #147: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #78: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #194: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #59: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #140: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #182: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #110: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #132: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #30: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #44: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #174: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #216: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #63: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #5: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #42: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #133: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #134: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #171: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #24: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #131: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #116: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #165: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #163: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #128: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #23: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #161: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #94: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #34: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #136: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #122: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #52: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #148: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #8: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #20: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #158: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #36: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #39: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #186: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #129: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #175: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #173: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #169: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #150: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #160: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #60: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #208: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #48: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #196: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #14: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #164: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #218: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #2: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #7: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #61: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #86: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #202: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #16: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #88: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #66: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #100: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #38: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #149: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #104: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #135: shouldBe 255,255,255\nat (16, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #50: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #154: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #77: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #200: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #4: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #17: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #214: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #138: shouldBe 255,255,255\nat (0, 16) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #80: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #55: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #152: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #153: shouldBe 0,0,0\nat (16, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #74: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #220: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #118: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #114: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #57: shouldBe 255,255,255\nat (16, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #180: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #40: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #112: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #204: shouldBe 0,0,0\nat (0, 0) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #126: shouldBe 0,0,0\nat (0, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #51: shouldBe 0,0,0\nat (16, 16) expected: 0,0,0 was 182,182,182] - expected: FAIL - - [WebGL test #32: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - - [WebGL test #56: shouldBe 255,255,255\nat (0, 0) expected: 255,255,255 was 54,54,54] - expected: FAIL - diff --git a/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini b/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini index f365deaf6cb..aca89365106 100644 --- a/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini @@ -1,7 +1,4 @@ [tex-image-with-format-and-type.html] - [WebGL test #6: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data] - expected: FAIL - [WebGL test #65: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4] expected: FAIL @@ -14,12 +11,3 @@ [WebGL test #70: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_5_5_5_1] expected: FAIL - [WebGL test #22: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data] - expected: FAIL - - [WebGL test #14: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data] - expected: FAIL - - [WebGL test #30: LUMINANCE/UNSIGNED_BYTE should maintain full precision of data] - expected: FAIL - From f726f182918028844cb240de48dbad7aa8c30667 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 9 Sep 2018 01:23:03 +0200 Subject: [PATCH 3/5] Remove some useless argument mutability I wonder why this doesn't trigger a warning. --- components/script/dom/webglrenderingcontext.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index fd8962a87fb..14888b4edfe 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -3450,7 +3450,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext { border: i32, format: u32, data_type: u32, - mut pixels: CustomAutoRooterGuard>, + pixels: CustomAutoRooterGuard>, ) -> ErrorResult { if !self.extension_manager.is_tex_type_enabled(data_type) { return Ok(self.webgl_error(InvalidEnum)); @@ -3488,7 +3488,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext { // initialized to 0 is passed. let buff = match *pixels { None => vec![0u8; expected_byte_length as usize], - Some(ref mut data) => data.to_vec(), + Some(ref data) => data.to_vec(), }; // From the WebGL spec: From d8b7394fa30829e20b6aa964045869dc4cf87179 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 9 Sep 2018 12:10:12 +0200 Subject: [PATCH 4/5] Fix the UNSIGNED_SHORT_5_5_5_1 case of premultiply_pixels --- components/script/dom/webglrenderingcontext.rs | 5 +++-- .../textures/misc/tex-image-with-format-and-type.html.ini | 6 ------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index 14888b4edfe..9f930361ee1 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -645,8 +645,9 @@ impl WebGLRenderingContext { }, (TexFormat::RGBA, TexDataType::UnsignedShort5551) => { for rgba in pixels.chunks_mut(2) { - let pix = NativeEndian::read_u16(rgba); - NativeEndian::write_u16(rgba, if pix & (1 << 15) != 0 { pix } else { 0 }); + if NativeEndian::read_u16(rgba) & 1 == 0 { + NativeEndian::write_u16(rgba, 0); + } } }, (TexFormat::RGBA, TexDataType::UnsignedShort4444) => { diff --git a/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini b/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini index aca89365106..cc7d66b3a16 100644 --- a/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini +++ b/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini @@ -2,12 +2,6 @@ [WebGL test #65: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4] expected: FAIL - [WebGL test #66: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_5_5_5_1] - expected: FAIL - [WebGL test #69: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4] expected: FAIL - [WebGL test #70: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_5_5_5_1] - expected: FAIL - From 6d3609dbe8cc0b5788ab6b50aefaa86bab7c4ab4 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Sun, 9 Sep 2018 12:10:12 +0200 Subject: [PATCH 5/5] Fix the UNSIGNED_SHORT_4_4_4_4 case of premultiply_pixels --- components/script/dom/webglrenderingcontext.rs | 18 +++++++++--------- .../tex-image-with-format-and-type.html.ini | 7 ------- 2 files changed, 9 insertions(+), 16 deletions(-) delete mode 100644 tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index 9f930361ee1..d227af7ea1a 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -653,17 +653,17 @@ impl WebGLRenderingContext { (TexFormat::RGBA, TexDataType::UnsignedShort4444) => { for rgba in pixels.chunks_mut(2) { let pix = NativeEndian::read_u16(rgba); - let extend_to_8_bits = |val| { (val | val << 4) as u8 }; - let r = extend_to_8_bits(pix & 0x000f); - let g = extend_to_8_bits((pix & 0x00f0) >> 4); - let b = extend_to_8_bits((pix & 0x0f00) >> 8); - let a = extend_to_8_bits((pix & 0xf000) >> 12); + let extend_to_8_bits = |val| (val | val << 4) as u8; + let r = extend_to_8_bits(pix >> 12 & 0x0f); + let g = extend_to_8_bits(pix >> 8 & 0x0f); + let b = extend_to_8_bits(pix >> 4 & 0x0f); + let a = extend_to_8_bits(pix & 0x0f); NativeEndian::write_u16( rgba, - (multiply_u8_pixel(r, a) & 0xf0) as u16 >> 4 | - (multiply_u8_pixel(g, a) & 0xf0) as u16 | - ((multiply_u8_pixel(b, a) & 0xf0) as u16) << 4 | - pix & 0xf000, + ((multiply_u8_pixel(r, a) & 0xf0) as u16) << 8 | + ((multiply_u8_pixel(g, a) & 0xf0) as u16) << 4 | + ((multiply_u8_pixel(b, a) & 0xf0) as u16) | + ((a & 0x0f) as u16), ); } }, diff --git a/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini b/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini deleted file mode 100644 index cc7d66b3a16..00000000000 --- a/tests/wpt/webgl/meta/conformance/textures/misc/tex-image-with-format-and-type.html.ini +++ /dev/null @@ -1,7 +0,0 @@ -[tex-image-with-format-and-type.html] - [WebGL test #65: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4] - expected: FAIL - - [WebGL test #69: UNPACK_PREMULTIPLY_ALPHA_WEBGL with RGBA/UNSIGNED_SHORT_4_4_4_4] - expected: FAIL -