• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1STRINGIFY(
2
3// defines built-in interfaces supported by SkiaSL vertex shaders
4
5out sk_PerVertex {
6    layout(builtin=0) float4 sk_Position;
7    layout(builtin=1) float sk_PointSize;
8    layout(builtin=3) float sk_ClipDistance[1];
9};
10
11layout(builtin=42) in int sk_VertexID;
12layout(builtin=43) in int sk_InstanceID;
13
14)
15