aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/sksl_vert.include
blob: b5ccfcb2a36c807292ba67e14cc2a937b60553df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
STRINGIFY(

// defines built-in interfaces supported by SkiaSL vertex shaders

out gl_PerVertex {
  	layout(builtin=0) vec4 gl_Position;
    layout(builtin=1) float gl_PointSize;
    layout(builtin=3) float sk_ClipDistance[1];
};

layout(builtin=5) int sk_VertexID;

)