aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/data/stockton.vert
blob: f6cafa9fb3740567bf605ccf856f9c0ec1a0a5c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#version 450

layout (location = 0) in vec2 position;
layout (location = 1) in vec3 colour;

out gl_PerVertex {
  vec4 gl_Position;
};
layout (location = 1) out vec3 frag_colour;

void main()
{
	gl_Position = vec4(position, 0.0, 1.0);
	frag_colour = colour;
}