]> git.tdb.fi Git - libs/gl.git/blobdiff - tests/glsl/geometry_interface_block.glsl
Fix GLSL test cases so they pass the basic tests
[libs/gl.git] / tests / glsl / geometry_interface_block.glsl
index ea0d377a913631529cf30927798ec9e08446e22c..18b98c0662c73ed179fa8f293b504a3da658bddb 100644 (file)
@@ -36,6 +36,8 @@ void main()
        frag_color = texture(tex, gs_out.texcoord);
 }
 
+// Target API: Vulkan
+
 /* Expected output: vertex
 layout(location=0) in vec4 position;
 out VertexOut
@@ -59,7 +61,7 @@ out GeometryOut
 in VertexOut
 {
        vec2 texcoord;
-} vs_out[];
+} vs_out[3];
 void main()
 {
        for(int i = 0; i<3; ++i)
@@ -72,7 +74,7 @@ void main()
 */
 
 /* Expected output: fragment
-layout(location=0, binding=71) uniform sampler2D tex;
+layout(set=0, binding=71) uniform sampler2D tex;
 layout(location=0) out vec4 frag_color;
 in GeometryOut
 {