]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/multiple_emitvertex.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / multiple_emitvertex.glsl
index 227f1e093359a4492faadef39e0b0d7108d19a49..6a6f9e2f9f92955a4140cd76d842dc2010f8987a 100644 (file)
@@ -28,6 +28,8 @@ void main()
        frag_color = texture(tex, texcoord);
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 layout(location=0) out vec2 texcoord;
@@ -41,7 +43,7 @@ void main()
 /* Expected output: geometry
 layout(triangles) in;
 layout(triangle_strip, max_vertices=3) out;
-layout(location=0) in vec2 texcoord[];
+layout(location=0) in vec2 texcoord[3];
 layout(location=0) out vec2 _gs_out_texcoord;
 void main()
 {
@@ -58,7 +60,7 @@ void main()
 */
 
 /* Expected output: fragment
-layout(location=0, binding=71) uniform sampler2D tex;
+layout(set=0, binding=71) uniform sampler2D tex;
 layout(location=0) out vec4 frag_color;
 layout(location=0) in vec2 _gs_out_texcoord;
 void main()