]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/ternary_operator.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / ternary_operator.glsl
index a04d810213cf7f5942e2b8c4ff9560ef0f05100f..402a06538700fdcd4de37cdb03c358c5e7409f8d 100644 (file)
@@ -25,8 +25,10 @@ void main()
        frag_color = texture(mask, texcoord).r > 0.5 ? color1 : color2;
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
-layout(binding=48) uniform Transform
+layout(set=0, binding=24) uniform Transform
 {
   mat4 mvp;
 } transform;
@@ -41,12 +43,12 @@ void main()
 */
 
 /* Expected output: fragment
-layout(binding=23) uniform Colors
+layout(set=0, binding=23) uniform Colors
 {
   vec4 color1;
   vec4 color2;
 };
-layout(location=0, binding=75) uniform sampler2D mask;
+layout(set=0, binding=75) uniform sampler2D mask;
 layout(location=0) out vec4 frag_color;
 layout(location=0) in vec2 _vs_out_texcoord;
 void main()