Permalink
Browse files

tests: move test out of vertex-failures; global inits are silently sk…

…ipped instead on pre-1.20
  • Loading branch information...
aras-p committed Feb 24, 2013
1 parent 4824cba commit 888494a8868789047dc7928583d8bfc08426cfc3
@@ -1,10 +1,8 @@
-
-// compiled shader:
-uniform vec4 uniVar = vec4( 1.0);
-vec4 staticVar = uniVar;
+uniform vec4 uniVar;
+vec4 staticVar;
#line 3
-vec4 staticVar2 = staticVar;
-uniform vec4 unusedVar = vec4( 50.0);
+vec4 staticVar2;
+uniform vec4 unusedVar;
uniform float uninitializedVar;
#line 7
#line 12
@@ -24,3 +22,7 @@ void main() {
xl_retval = xlat_main( );
gl_Position = vec4(xl_retval);
}
+
+// uniforms:
+// uniVar:<none> type 12 arrsize 0
+// uninitializedVar:<none> type 9 arrsize 0
@@ -1,8 +1,8 @@
-uniform highp vec4 uniVar = vec4( 1.0);
-highp vec4 staticVar = uniVar;
+uniform highp vec4 uniVar;
+highp vec4 staticVar;
#line 3
-highp vec4 staticVar2 = staticVar;
-uniform highp vec4 unusedVar = vec4( 50.0);
+highp vec4 staticVar2;
+uniform highp vec4 unusedVar;
uniform highp float uninitializedVar;
#line 7
#line 12

0 comments on commit 888494a

Please sign in to comment.