1// defines built-in interfaces supported by SkiaSL fragment shaders 2 3// See "enum SpvBuiltIn_" in ./spirv.h 4layout(builtin=15) in float4 sk_FragCoord; 5layout(builtin=17) in bool sk_Clockwise; // Similar to gl_FrontFacing, but defined in device space. 6 7// 9999 is a sentinel value that causes us to ignore these declarations, beyond adding them to the 8// symbol table. 9layout(builtin=9999) out half4 gl_SecondaryFragColorEXT; 10 11layout(location=0,index=0,builtin=10001) out half4 sk_FragColor; 12layout(builtin=10008) half4 sk_LastFragColor; 13