Upon entry to the fragment shader, the destination fragment coordinates are already determined.

If you're moving the pixels by a fixed distance, then you need to sample the texture at a point...