2017-11-16 16:20:11 +00:00
|
|
|
STRINGIFY(
|
2016-07-01 15:22:01 +00:00
|
|
|
|
|
|
|
// defines built-in interfaces supported by SkiaSL vertex shaders
|
|
|
|
|
2017-02-16 21:37:32 +00:00
|
|
|
out sk_PerVertex {
|
2017-09-26 18:23:59 +00:00
|
|
|
layout(builtin=0) float4 sk_Position;
|
|
|
|
layout(builtin=1) float sk_PointSize;
|
2017-09-20 15:24:15 +00:00
|
|
|
layout(builtin=3) float sk_ClipDistance[1];
|
2016-07-01 15:22:01 +00:00
|
|
|
};
|
|
|
|
|
2017-05-19 18:03:45 +00:00
|
|
|
layout(builtin=5) in int sk_VertexID;
|
2017-10-15 04:12:33 +00:00
|
|
|
layout(builtin=6) in int sk_InstanceID;
|
2017-02-07 19:53:32 +00:00
|
|
|
|
2017-11-16 16:20:11 +00:00
|
|
|
)
|