X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Fgeometry_interface_block.glsl;h=18b98c0662c73ed179fa8f293b504a3da658bddb;hb=98f72f1666f45fa96407c96ff2bb88a5962e66c9;hp=3934dd13908e2d4af070ea12960c9b3ec3f14540;hpb=6ba314198dce795408690456fa1f0ef559aa1532;p=libs%2Fgl.git diff --git a/tests/glsl/geometry_interface_block.glsl b/tests/glsl/geometry_interface_block.glsl index 3934dd13..18b98c06 100644 --- a/tests/glsl/geometry_interface_block.glsl +++ b/tests/glsl/geometry_interface_block.glsl @@ -14,7 +14,7 @@ void main() #pragma MSP stage(geometry) layout(triangles) in; -layout(triangles, max_vertices=3) out; +layout(triangle_strip, max_vertices=3) out; out GeometryOut { vec2 texcoord; @@ -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 @@ -51,7 +53,7 @@ void main() /* Expected output: geometry layout(triangles) in; -layout(triangles, max_vertices=3) out; +layout(triangle_strip, max_vertices=3) out; out GeometryOut { vec2 texcoord; @@ -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 -uniform sampler2D tex; +layout(set=0, binding=71) uniform sampler2D tex; layout(location=0) out vec4 frag_color; in GeometryOut {