| layout(set = 0, binding = 1) uniform texture2D aTexture; | |
| layout(set = 0, binding = 2) uniform sampler2D aSampledTexture; | |
| layout(location = 1) in float2 c; | |
| noinline half4 helpers_helper(sampler2D s, texture2D t) { | |
| return sample(s, c); | |
| } | |
| noinline half4 helper(texture2D t, sampler2D s) { | |
| return helpers_helper(s, t); | |
| } | |
| void main() { | |
| sk_FragColor = helper(aTexture, aSampledTexture); | |
| } |