summaryrefslogtreecommitdiffstats
path: root/third_party/rust/spirv-cross-internal/tests/shaders/two_ubo.vert
blob: f84c0a5ca76a69342775374caa7f5e66fc4d6070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#version 310 es

layout(std140) uniform ubo1
{
    mat4 a;
    float b;
    vec4 c[2];
};

layout(std140) uniform ubo2
{
    float d;
    vec3 e;
    vec3 f;
};

void main()
{
    gl_Position = vec4(a[1][2] + b + c[1].y + d + e.x + f.z);
}