1# This is the raw input file that (along with GrSharedEnums.h) is used to generate
2# sksl_fp.sksl.
3
4// defines built-in interfaces supported by SkiaSL fragment shaders
5
6layout(builtin=15) in float4 sk_FragCoord;
7
8// 9999 is a sentinel value that causes us to ignore these declarations, beyond adding them to the
9// symbol table.
10layout(builtin=9999) float4 gl_LastFragData[1];
11layout(builtin=9999) half4 gl_LastFragColor;
12layout(builtin=9999) half4 gl_LastFragColorARM;
13layout(builtin=9999) half4 gl_SecondaryFragColorEXT;
14
15half4 sample(fragmentProcessor fp);
16half4 sample(fragmentProcessor fp, float2 coords);
17
18half4 sample(fragmentProcessor fp, half4 input);
19half4 sample(fragmentProcessor fp, float2 coords, half4 input);
20