1STRINGIFY( 2 // special-cased within the compiler - append takes various arguments depending on what kind of 3 // stage is being appended 4 sk_has_side_effects void append(); 5 6 float abs(float x); 7 float sin(float x); 8 float cos(float y); 9 float tan(float x); 10 float sqrt(float x); 11 float clamp(float x, float min, float max); 12 float2 clamp(float2 x, float min, float max); 13 float3 clamp(float3 x, float min, float max); 14 float4 clamp(float4 x, float min, float max); 15 sk_has_side_effects void print(float x); 16 layout(builtin=10009) int sk_x; 17 layout(builtin=10010) int sk_y; 18 layout(builtin=10004) out half4 sk_OutColor; 19 20 half4 process(fragmentProcessor fp); 21) 22