relative position of a pixel in fragment shader

How can I get the relative position of a pixel in a fragment shader? I only know gl_FragCoord​, but gl_FragCoord​ returns only the absolute coordinate.

Relative to what?

BTW, the answer is probably going to be “add another attribute”.