1layout(metal, texture=5, sampler=7) sampler2D mtlSampler; 2 3void main() { 4 sk_FragColor = sample(mtlSampler, float2(0)); 5} 6