]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/nested_ternary.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / nested_ternary.glsl
index 8896c17a727017e2317d31b763052351c38e1bf3..6cbc478155328f92cc798ebee8433c6123939dd7 100644 (file)
@@ -22,6 +22,8 @@ void main()
                position.y>0 ? top_left : bottom_left);
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 layout(location=0) out vec4 _vs_out_position;
@@ -33,7 +35,7 @@ void main()
 */
 
 /* Expected output: fragment
-layout(binding=23) uniform Colors
+layout(set=0, binding=23) uniform Colors
 {
        vec4 top_left;
        vec4 top_right;