X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=tests%2Fglsl%2Fpassthrough_declaration_order.glsl;h=c5d1856a9396e9dacf27eb440e8fd07a4c42b3fe;hp=52712d85056565e2fafdf2cf3fcc169e8d82bbf7;hb=7b03ca83ca6c48b9f8c3f77c13760e7f87e9632d;hpb=9cfccf5c4e366e033cfd5eebf8955d2b13202b46 diff --git a/tests/glsl/passthrough_declaration_order.glsl b/tests/glsl/passthrough_declaration_order.glsl index 52712d85..c5d1856a 100644 --- a/tests/glsl/passthrough_declaration_order.glsl +++ b/tests/glsl/passthrough_declaration_order.glsl @@ -23,7 +23,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; @@ -33,7 +33,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;