blob: 7eb24875565f7da32f930545027a75f7cf6a594f [file] [log] [blame]
/*#pragma settings NoInline*/
half4 getColor(half c) {
return half4(c);
}
// Depends on pipeline stage inputs
half4 getFragCoordAugmentedColor(half c) {
return half4(sk_FragCoord.xyxy * getColor(c));
}
// Depends on pipeline stage outputs
void writeColorToOutput(half c) {
sk_FragColor = getColor(c);
}
// Transitively depends on pipeline stage outputs
void writeToOutput() {
writeColorToOutput(1.0);
}
// Depends on pipeline stage outputs
// Transitively depends on pipeline stage inputs
void modifyOutputColor() {
sk_FragColor += getFragCoordAugmentedColor(2.0);
}
void main() {
writeToOutput();
modifyOutputColor();
}