blob: c297bac24740e1f4cc95080e284cc4c626cddc50 [file] [log] [blame]
#version 400
precision mediump float;
precision mediump sampler2D;
out mediump vec4 sk_FragColor;
uniform sampler2D tex;
in highp vec2 texcoord;
in mediump ivec2 offset;
void main() {
mediump int scalar = offset.y;
sk_FragColor = texture(tex, texcoord + vec2(offset * scalar));
}