STRINGIFY( | |
// defines built-in interfaces supported by SkiaSL vertex shaders | |
out sk_PerVertex { | |
layout(builtin=0) vec4 gl_Position; | |
layout(builtin=1) float gl_PointSize; | |
layout(builtin=3) float sk_ClipDistance[1]; | |
}; | |
layout(builtin=5) in int sk_VertexID; | |
) | |