RetroArch/shaders-hlsl/vert/struct-composite-decl.vert
aliaspider 501fd33b68 Squashed 'deps/SPIRV-Cross/' content from commit d4b0625cbd
git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: d4b0625cbd7377e720b4fa1d63e6a3c09da5db63
2018-02-02 11:53:59 +01:00

27 lines
326 B
GLSL

#version 310 es
layout(location = 0) in vec4 a;
layout(location = 1) in vec4 b;
layout(location = 2) in vec4 c;
layout(location = 3) in vec4 d;
struct VOut
{
vec4 a;
vec4 b;
vec4 c;
vec4 d;
};
layout(location = 0) out VOut vout;
void emit_result(VOut v)
{
vout = v;
}
void main()
{
emit_result(VOut(a, b, c, d));
}