1STRINGIFY( 2 3// defines built-in interfaces supported by SkiaSL geometry shaders 4 5layout(builtin=10002) in 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} sk_in[1]; 10 11layout(builtin=10007) out sk_PerVertex { 12 layout(builtin=0) float4 sk_Position; 13 layout(builtin=1) float sk_PointSize; 14 layout(builtin=3) float sk_ClipDistance[1]; 15}; 16 17layout(builtin=8) in int sk_InvocationID; 18 19sk_has_side_effects void EmitStreamVertex(int stream); 20sk_has_side_effects void EndStreamPrimitive(int stream); 21sk_has_side_effects void EmitVertex(); 22sk_has_side_effects void EndPrimitive(); 23 24) 25