]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/redundant_geometry_gl_position.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / redundant_geometry_gl_position.glsl
index 99d4330faf883681e2e5c3a428d37ebe37129d8e..130f9c23706310440616d266e8c0862e406d0c95 100644 (file)
@@ -8,7 +8,7 @@ void main()
 
 #pragma MSP stage(geometry)
 layout(triangles) in;
-layout(triangles, max_vertices=3) out;
+layout(triangle_strip, max_vertices=3) out;
 void main()
 {
        for(int i=0; i<3; ++i)
@@ -19,6 +19,8 @@ void main()
        }
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 void main()
@@ -29,7 +31,7 @@ void main()
 
 /* Expected output: geometry
 layout(triangles) in;
-layout(triangles, max_vertices=3) out;
+layout(triangle_strip, max_vertices=3) out;
 void main()
 {
        for(int i = 0; i<3; ++i)