Bug 1290987 - #version needs to be on the first line. CLOSED TREE
authorJeff Gilbert <jgilbert@mozilla.com>
Mon, 01 Aug 2016 15:37:59 -0700
changeset 349624 756ceb819f7ac8d77bf0afde8e06d22adc97d7e3
parent 349623 bbf9eb08babaebd79a77c824a020f2b2b4e9f6dc
child 349625 6e3a686084a0d3a5e8576be37238c0342bd162c2
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)
bugs1290987
milestone50.0a2
Bug 1290987 - #version needs to be on the first line. CLOSED TREE MozReview-Commit-ID: D5FMDOKiSLY
dom/canvas/test/webgl-mochitest/test_webgl2_alpha_luminance.html
--- a/dom/canvas/test/webgl-mochitest/test_webgl2_alpha_luminance.html
+++ b/dom/canvas/test/webgl-mochitest/test_webgl2_alpha_luminance.html
@@ -1,29 +1,29 @@
 <!DOCTYPE HTML>
 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
 <title>WebGL2 test: Alpha and Luminance Textures</title>
 <script src="/tests/SimpleTest/SimpleTest.js"></script>
 <link rel="stylesheet" href="/tests/SimpleTest/test.css">
 <script src="driver-info.js"></script>
 <script src="webgl-util.js"></script>
-<script id="vs" type="x-shader/x-vertex">
-#version 300 es
+<script id="vs" type="x-shader/x-vertex"
+>#version 300 es
 
 in vec2 aTexCoord;
 out vec2 vTexCoord;
 
 void main() {
   vec2 pos = vec2(2.0)*aTexCoord - vec2(1.0);
   gl_Position = vec4(pos, 0.0, 1.0);
   vTexCoord = aTexCoord;
 }
 </script>
-<script id="fs" type="x-shader/x-fragment">
-#version 300 es
+<script id="fs" type="x-shader/x-fragment"
+>#version 300 es
 precision mediump float;
 
 in vec2 vTexCoord;
 uniform sampler2D uTex;
 out vec4 oFragColor;
 
 void main() {
   oFragColor = texture(uTex, vTexCoord);