X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tests%2Fglsl%2Fgeometry_passthrough.glsl;fp=tests%2Fglsl%2Fgeometry_passthrough.glsl;h=2104280a102496c1c4b5fe0a214c1c4ebf636d26;hp=5935284264b1d01c1dd74d1a3b779b9fc2b724d3;hb=97d26f5179e82cd2faf476a9605f8a4f4b33a926;hpb=4b9c9f565bb0335034dc8c2c7ad833ee42251d5d diff --git a/tests/glsl/geometry_passthrough.glsl b/tests/glsl/geometry_passthrough.glsl index 59352842..2104280a 100644 --- a/tests/glsl/geometry_passthrough.glsl +++ b/tests/glsl/geometry_passthrough.glsl @@ -27,6 +27,8 @@ void main() frag_color = texture(tex, texcoord); } +// Target API: Vulkan + /* Expected output: vertex layout(location=0) in vec4 position; layout(location=0) out vec2 texcoord; @@ -40,7 +42,7 @@ void main() /* Expected output: geometry layout(triangles) in; layout(triangle_strip, max_vertices=3) out; -layout(location=0) in vec2 texcoord[]; +layout(location=0) in vec2 texcoord[3]; layout(location=0) out vec2 _gs_out_texcoord; void main() { @@ -54,7 +56,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; layout(location=0) in vec2 _gs_out_texcoord; void main()