blob: dea156838d07b967bd8e43b609d042738837308a [file] [log] [blame]
layout(builtin=15) float4 sk_FragCoord;
// Today, we continue to allow all versions of sample from any runtime effect.
// When shader and colorFilter are different program kinds, move these declarations into separate
// modules so that each stage can only see the permitted versions.
// Ultimately, these declarations can go away, when we support invoking children like functions
// (using the same arguments here, eg shader_name(coords) rather than sample(shader, coords)).
half4 sample(shader s);
half4 sample(shader s, float3x3 transform);
half4 sample(shader s, float2 coords);
half4 sample(colorFilter f);