unplugged-system/external/skia/resources/sksl/wgsl/MainDoesNotHaveFragCoordParameter.sksl

5 lines
142 B
Plaintext

half4 main() {
// sk_FragCoord should be declared in pipeline inputs since it is referenced.
return half4(sk_FragCoord.x, 0, 0, 1);
}