From the GLSL specification:
It is typical to consider a square of 2x2 fragments or samples and calculate an independent dFdxFine for each row and an independent dFdyFine per column when calculating only one dFdxCoarse and one dFdyCoarse for the entire 2x2 square.
- . , , , dFdx(a). 2x2 (.. ):
a00 a10
a01 a11
a, . :
dFdxFine(a) = (a10 - a00)/dx at xy = 00, 10
dFdxFine(a) = (a11 - a01)/dx at xy = 01, 11
2x2 . , :
dFdxCoarse(a) = (a10 - a00)/dx at xy = 00, 10, 01, 11
, . , "" . . dFdx dFdy, ( ).