blob: d8b491f775848d327ac697c1e10042ea717faf5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#version 440
layout(location = 0) in vec4 vCoord;
layout(std140, binding = 0) uniform buf {
mat4 matrix;
} ubuf;
out gl_PerVertex { vec4 gl_Position; };
void main()
{
gl_Position = ubuf.matrix * vCoord;
}
|