X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Ffunction_overloading.glsl;h=a44c00d4459fe1bce58e4fb680b46bed03315507;hb=3ffa465364a36477b81b1b644ae8d19ee3bac8c2;hp=6924a6286b64745b6e940f9440461acc91412445;hpb=22d5405729048ee2677a1e45e309e6328de64a26;p=libs%2Fgl.git diff --git a/tests/glsl/function_overloading.glsl b/tests/glsl/function_overloading.glsl index 6924a628..a44c00d4 100644 --- a/tests/glsl/function_overloading.glsl +++ b/tests/glsl/function_overloading.glsl @@ -30,10 +30,10 @@ void main() } /* Expected output: vertex -uniform mat4 mvp; +layout(location=0) uniform mat4 mvp; layout(location=0) in vec4 position; layout(location=1) in vec2 texcoord; -out vec2 _vs_out_texcoord; +layout(location=0) out vec2 _vs_out_texcoord; void main() { _vs_out_texcoord = texcoord; @@ -42,9 +42,9 @@ void main() */ /* Expected output: fragment -uniform sampler2D tex; +layout(location=4, binding=71) uniform sampler2D tex; layout(location=0) out vec4 frag_color; -in vec2 _vs_out_texcoord; +layout(location=0) in vec2 _vs_out_texcoord; void main() { vec4 color = texture(tex, _vs_out_texcoord);