1cb93a386Sopenharmony_ci#version 310es 2cb93a386Sopenharmony_ciprecision mediump float; 3cb93a386Sopenharmony_ciprecision mediump sampler2D; 4cb93a386Sopenharmony_ciout mediump vec4 sk_FragColor; 5cb93a386Sopenharmony_ciuniform sampler2D tex; 6cb93a386Sopenharmony_ciin highp vec2 texcoord; 7cb93a386Sopenharmony_ciin highp ivec2 offset; 8cb93a386Sopenharmony_civoid main() { 9cb93a386Sopenharmony_ci highp int scalar = offset.y; 10cb93a386Sopenharmony_ci sk_FragColor = texture(tex, texcoord + vec2(offset * scalar)); 11cb93a386Sopenharmony_ci} 12