1*c8dee2aaSAndroid Build Coastguard Worker// defines built-in interfaces supported by SkSL fragment shaders 2*c8dee2aaSAndroid Build Coastguard Worker 3*c8dee2aaSAndroid Build Coastguard Worker// See "enum SpvBuiltIn_" in ./spirv.h 4*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=15) in float4 sk_FragCoord; 5*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=17) in bool sk_Clockwise; // Similar to gl_FrontFacing, but defined in device space. 6*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=20) in uint sk_SampleMaskIn; 7*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=10020) out uint sk_SampleMask; 8*c8dee2aaSAndroid Build Coastguard Worker 9*c8dee2aaSAndroid Build Coastguard Workerlayout(location=0,index=0,builtin=10001) out half4 sk_FragColor; 10*c8dee2aaSAndroid Build Coastguard Workerlayout(builtin=10008) in half4 sk_LastFragColor; 11*c8dee2aaSAndroid Build Coastguard Workerlayout(location=0,index=1,builtin=10012) out half4 sk_SecondaryFragColor; 12