]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/geometry_interface_block.glsl
Allocate locations to interface variables
[libs/gl.git] / tests / glsl / geometry_interface_block.glsl
index 3934dd13908e2d4af070ea12960c9b3ec3f14540..fb9a2aa00ad53cebd6ba61028a26dbf62d2b2b62 100644 (file)
@@ -14,7 +14,7 @@ void main()
 
 #pragma MSP stage(geometry)
 layout(triangles) in;
-layout(triangles, max_vertices=3) out;
+layout(triangle_strip, max_vertices=3) out;
 out GeometryOut
 {
        vec2 texcoord;
@@ -51,7 +51,7 @@ void main()
 
 /* Expected output: geometry
 layout(triangles) in;
-layout(triangles, max_vertices=3) out;
+layout(triangle_strip, max_vertices=3) out;
 out GeometryOut
 {
        vec2 texcoord;
@@ -72,7 +72,7 @@ void main()
 */
 
 /* Expected output: fragment
-uniform sampler2D tex;
+layout(location=0) uniform sampler2D tex;
 layout(location=0) out vec4 frag_color;
 in GeometryOut
 {