]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/passthrough_declaration_order.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / passthrough_declaration_order.glsl
index 52712d85056565e2fafdf2cf3fcc169e8d82bbf7..ab4c2a98bf397b59dc7628abbc7041c2428cf2cc 100644 (file)
@@ -20,10 +20,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;
@@ -33,7 +35,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;