summaryrefslogtreecommitdiffstats
path: root/third_party/rust/spirv-cross-internal/tests/shaders/struct.vert
blob: dbbaa485dc44a85adcdacd781e8432fc4ccce994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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 V
{
    vec4 a;
    vec4 b;
    vec4 c;
    vec4 d;
};

layout(location = 0) out V v;

void main()
{
    v = V(a, b, c, d);
}