Bug 1299055 - Update conformance2/glsl3/array-complex-indexing.html. r=mtseng, a=test-only
authorDaosheng Mu <daoshengmu@gmail.com>
Tue, 30 Aug 2016 13:18:01 +0800
changeset 350341 8e0eb6fb60d990cf3748ce8a26be54e069d0c4b3
parent 350340 1c2b79fbce526c52c71cbeba42186464b61361d2
child 350342 0f6fde2a7f7a523638f8658409ba6cf010b78601
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtseng, test-only
bugs1299055
milestone50.0
Bug 1299055 - Update conformance2/glsl3/array-complex-indexing.html. r=mtseng, a=test-only MozReview-Commit-ID: 63PQyvuYfda
dom/canvas/test/webgl-conf/checkout/conformance2/glsl3/array-complex-indexing.html
--- a/dom/canvas/test/webgl-conf/checkout/conformance2/glsl3/array-complex-indexing.html
+++ b/dom/canvas/test/webgl-conf/checkout/conformance2/glsl3/array-complex-indexing.html
@@ -72,27 +72,16 @@ void main() {
 precision mediump float;
 out vec4 color;
 
 void main() {
   float a = (float[3](2.0, 1.0, 0.0))[0];
   color = (a == 2.0) ? vec4(0, 1.0, 0, 1.0) : vec4(1.0, 0, 0, 1.0);
 }
 </script>
-<script id="fshader-sequence-operator" type="x-shader/x-fragment">#version 300 es
-precision mediump float;
-out vec4 color;
-
-void main() {
-  float a[2] = float[2](1.0, 0.0);
-  float b[2] = float[2](2.0, 3.0);
-  float c = (a, b)[0];
-  color = (c == 2.0) ? vec4(0, 1.0, 0, 1.0) : vec4(1.0, 0, 0, 1.0);
-}
-</script>
 <script type="application/javascript">
 "use strict";
 description("Indexing complex array expressions");
 debug("");
 
 GLSLConformanceTester.runRenderTests([
 {
   fShaderId: 'fshader-assignment',
@@ -107,19 +96,13 @@ GLSLConformanceTester.runRenderTests([
   passMsg: 'Test indexing a function return with a side-effect: (functionReturnArray())[0]'
 },
 {
   fShaderId: 'fshader-array-initialization',
   fShaderSuccess: true,
   linkSuccess: true,
   passMsg: 'Test indexing an array initialization: (float[3](2.0, 1.0, 0.0))[0]'
 },
-{
-  fShaderId: 'fshader-sequence-operator',
-  fShaderSuccess: true,
-  linkSuccess: true,
-  passMsg: 'Test indexing a sequence operator: (a, b)[0]'
-},
 ], 2);
 
 </script>
 </body>
 </html>