summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/spirv-cross/reference/shaders/flatten/array.flatten.vert
blob: 5afde34c553ac634b6909bced1d45cb78ba970e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#version 310 es

uniform vec4 UBO[56];
layout(location = 0) in vec4 aVertex;

void main()
{
    vec4 a4 = UBO[23];
    vec4 offset = (UBO[50] + UBO[45]) + vec4(UBO[54].x);
    gl_Position = ((mat4(UBO[40], UBO[41], UBO[42], UBO[43]) * aVertex) + UBO[55]) + offset;
}