]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/passthrough.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / passthrough.glsl
index 4017e490a636249a852ea7e1ed3bccbbefa8a847..75e4a0c1c1b3f82ed084581e13cc2f58a62bc54f 100644 (file)
@@ -14,10 +14,12 @@ void main()
        frag_color = color;
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 layout(location=1) in vec4 color;
-out vec4 _vs_out_color;
+layout(location=0) out vec4 _vs_out_color;
 void main()
 {
        gl_Position = position;
@@ -27,7 +29,7 @@ void main()
 
 /* Expected output: fragment
 layout(location=0) out vec4 frag_color;
-in vec4 _vs_out_color;
+layout(location=0) in vec4 _vs_out_color;
 void main()
 {
        frag_color = _vs_out_color;