Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / webgl / src / sdk / tests / conformance / extensions / webgl-compressed-texture-atc.html
index 91730df..4296edb 100644 (file)
@@ -75,7 +75,7 @@ var img_4x4_rgb_atc = new Uint8Array([
 var img_4x4_rgba_atc_explicit = new Uint8Array([
     0xf6,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x7c,0xe0,0x07,0xcc,0xcf,0xc0,0xff,
 ]);
-var img_4x4_rgba_atc_implicit = new Uint8Array([
+var img_4x4_rgba_atc_interpolated = new Uint8Array([
     0xff,0x6a,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x7c,0xe0,0x07,0xcc,0xcf,0xc0,0xff,
 ]);
 var img_8x8_rgba_raw = new Uint8Array([
@@ -106,7 +106,7 @@ var img_8x8_rgba_atc_explicit = new Uint8Array([
     0xff,0xff,0xff,0xff,0xf6,0xff,0xf6,0xff,0x1f,0x7c,0xe0,0x07,0x33,0x30,0x3f,0x00,
     0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x1f,0x00,0xff,0x07,0xcc,0xcf,0xc0,0xff,
 ]);
-var img_8x8_rgba_atc_implicit = new Uint8Array([
+var img_8x8_rgba_atc_interpolated = new Uint8Array([
     0xff,0x6a,0x01,0x10,0x00,0x00,0x00,0x00,0x00,0x7c,0xe0,0x07,0xcc,0xcf,0xc0,0xff,
     0x00,0xff,0x49,0x92,0x24,0x49,0x92,0x24,0x1f,0x00,0xe0,0xff,0x33,0x30,0x3f,0x00,
     0xff,0x69,0x00,0x00,0x00,0x01,0x10,0x00,0x1f,0x7c,0xe0,0x07,0x33,0x30,0x3f,0x00,
@@ -327,7 +327,7 @@ function testACTTexture(test) {
     wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, "invalid dimensions");
 
     gl.compressedTexImage2D(gl.TEXTURE_2D, -1, format, 1, height, 0, data);
-    wtu.glErrorShouldBe(gl, gl.NO_ERROR, "cannot specify negative mip level");
+    wtu.glErrorShouldBe(gl, gl.INVALID_VALUE, "cannot specify negative mip level");
 
     // ATC Does not allow use of CompressedTexSubImage
     gl.compressedTexSubImage2D(gl.TEXTURE_2D, 0, 0, 0, width, height, format, data);