Merge branch 'master' into blender2.8
[blender.git] / source / blender / draw / modes / shaders / edit_normals_geom.glsl
1
2 layout(points) in;
3 layout(line_strip, max_vertices=2) out;
4
5 flat in vec4 v1[1];
6 flat in vec4 v2[1];
7
8 void main()
9 {
10         gl_Position = v1[0];
11         EmitVertex();
12         gl_Position = v2[0];
13         EmitVertex();
14         EndPrimitive();
15 }