X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tests%2Fglsl%2Fpassthrough.glsl;h=5b0482467aa6f3c33d077ed12bb8cf31dab83a1a;hp=4017e490a636249a852ea7e1ed3bccbbefa8a847;hb=7b03ca83ca6c48b9f8c3f77c13760e7f87e9632d;hpb=9cfccf5c4e366e033cfd5eebf8955d2b13202b46 diff --git a/tests/glsl/passthrough.glsl b/tests/glsl/passthrough.glsl index 4017e490..5b048246 100644 --- a/tests/glsl/passthrough.glsl +++ b/tests/glsl/passthrough.glsl @@ -17,7 +17,7 @@ void main() /* Expected output: vertex layout(location=0) in vec4 position; layout(location=1) in vec4 color; -out vec4 _vs_out_color; +layout(location=0) out vec4 _vs_out_color; void main() { gl_Position = position; @@ -27,7 +27,7 @@ void main() /* Expected output: fragment layout(location=0) out vec4 frag_color; -in vec4 _vs_out_color; +layout(location=0) in vec4 _vs_out_color; void main() { frag_color = _vs_out_color;