X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Fpassthrough_declaration_order.glsl;h=ab4c2a98bf397b59dc7628abbc7041c2428cf2cc;hb=08d3b5a55fad7439b47fc93d8ba604cbeb7e19ca;hp=52712d85056565e2fafdf2cf3fcc169e8d82bbf7;hpb=9229a3e70dace406d897148857ed6567986c3bcd;p=libs%2Fgl.git diff --git a/tests/glsl/passthrough_declaration_order.glsl b/tests/glsl/passthrough_declaration_order.glsl index 52712d85..ab4c2a98 100644 --- a/tests/glsl/passthrough_declaration_order.glsl +++ b/tests/glsl/passthrough_declaration_order.glsl @@ -20,10 +20,12 @@ void main() frag_color = color; } +// Target API: Vulkan + /* 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 +35,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;