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;
|
2016-07-01 15:22:01 +00:00
|
|
|
};
|
|
|
|
|
2018-03-22 14:10:44 +00:00
|
|
|
layout(builtin=42) in int sk_VertexID;
|
|
|
|
layout(builtin=43) in int sk_InstanceID;
|