X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Fpassthrough.glsl;h=75e4a0c1c1b3f82ed084581e13cc2f58a62bc54f;hb=7a5d84b06d0217c5edad5d9f4ef51404de0cb911;hp=4017e490a636249a852ea7e1ed3bccbbefa8a847;hpb=6ba314198dce795408690456fa1f0ef559aa1532;p=libs%2Fgl.git diff --git a/tests/glsl/passthrough.glsl b/tests/glsl/passthrough.glsl index 4017e490..75e4a0c1 100644 --- a/tests/glsl/passthrough.glsl +++ b/tests/glsl/passthrough.glsl @@ -14,10 +14,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; @@ -27,7 +29,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;