blob: 9ad5706b8d8479213a0ca4c3321e79d19628d285 [file] [log] [blame]
layout(set = 0, binding = 1, rgba8) readonly texture2D aTexture;
layout(set = 0, binding = 2) sampler2D aSampledTexture;
layout(location = 1) in float2 c;
noinline half4 helpers_helper(sampler2D s, layout(rgba8) readonly texture2D t) {
return sample(s, c);
}
noinline half4 helper(layout(rgba8) readonly texture2D t, sampler2D s) {
return helpers_helper(s, t);
}
void main() {
sk_FragColor = helper(aTexture, aSampledTexture);
}