1layout(set=0) uniform float4x4 colorXform; 2layout(binding=0) uniform sampler2D s; 3 4void main() { 5 float4 tmpColor; 6 sk_FragColor = 7 half4(1.0) * 8 (tmpColor = sample(s, float2(1)), 9 half4(colorXform != float4x4(1.0) 10 ? float4(clamp((float4x4(colorXform) * float4(tmpColor.xyz, 1.0)).xyz, 11 0.0, tmpColor.w), 12 tmpColor.w) 13 : tmpColor)); 14} 15