1cb93a386Sopenharmony_ci// defines built-in interfaces supported by SkiaSL fragment shaders 2cb93a386Sopenharmony_ci 3cb93a386Sopenharmony_ci// See "enum SpvBuiltIn_" in ./spirv.h 4cb93a386Sopenharmony_cilayout(builtin=15) in float4 sk_FragCoord; 5cb93a386Sopenharmony_cilayout(builtin=17) in bool sk_Clockwise; // Similar to gl_FrontFacing, but defined in device space. 6cb93a386Sopenharmony_ci 7cb93a386Sopenharmony_cilayout(location=0,index=0,builtin=10001) out half4 sk_FragColor; 8cb93a386Sopenharmony_cilayout(builtin=10008) half4 sk_LastFragColor; 9cb93a386Sopenharmony_cilayout(builtin=10012) out half4 sk_SecondaryFragColor; 10