]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/member_assignment.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / member_assignment.glsl
index 8444cfcad76eee26845efe554fde55167967c383..0d7d8efec792c796d419d11c1e407c700a8c0b2a 100644 (file)
@@ -1,20 +1,20 @@
 #pragma MSP stage(vertex)
 void main()
 {
-       vec4 p;
+       vec4 p = vec4(0.0);
        p.x = 1.0;
-       p.y = 0.0;
        p.z = 2.0;
        p.w = 1.0;
        gl_Position = p;
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 void main()
 {
-       vec4 p;
+       vec4 p = vec4(0.0);
        p.x = 1.0;
-       p.y = 0.0;
        p.z = 2.0;
        p.w = 1.0;
        gl_Position = p;