bgfx/3rdparty/spirv-cross/shaders-hlsl/vert/struct-composite-decl.vert
Бранимир Караџић ac29dccc6a Added spirv-cross.
2019-01-09 19:23:47 -08: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));
}