]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/complex_constant_condition_removal.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / complex_constant_condition_removal.glsl
index 5a2c588f07b9b76df91334be57a058ccf0198734..68c0c30c29c00437c2722667a50d911d1c525a6e 100644 (file)
@@ -21,10 +21,12 @@ void main()
                frag_color = vec4(1.0);
 }
 
+// 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;
@@ -34,7 +36,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;