X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Fpassthrough.glsl;h=5b0482467aa6f3c33d077ed12bb8cf31dab83a1a;hb=55e3f2d494d939280a4ea48676fd17ca2342b457;hp=4017e490a636249a852ea7e1ed3bccbbefa8a847;hpb=6ba314198dce795408690456fa1f0ef559aa1532;p=libs%2Fgl.git 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;