aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/sksl_vert.include
blob: e7f841949c5d141ca92e4dd563541ae3f7ca08ea (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 sk_PerVertex {
    layout(builtin=0) highfloat4 gl_Position;
    layout(builtin=1) highfloat gl_PointSize;
    layout(builtin=3) highfloat sk_ClipDistance[1];
};

layout(builtin=5) in int sk_VertexID;

)