blob: 7e363d3fdd7cc724a0cb158121f94d5e63a74802 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#version 460 core
layout(location = 0) in ivec3 v_pos[2];
layout(location = 2) in ivec3 v_centre;
layout(location = 3) in float v_reps;
layout(location = 4) in float v_angles[2];
layout(location = 6) in float v_radius;
flat out ivec3 pos[2];
flat out ivec2 cpos;
flat out float reps;
flat out float angles[2];
flat out float radius;
void
main()
{
pos = v_pos;
cpos = v_centre.xy;
reps = v_reps;
angles = v_angles;
radius = v_radius;
}
|