FDSY#
Format: FDSY dest, source.
Phase0: FDSY FT0, S0{.NEG}{.ABS}
Phase1: FDSY FT1, S3{.NEG}{.ABS}-
Phase2: -
Description: Gradient in y direction, one source
D = Pix2 - Pix0
Example:
void main()
{
vec4 data = texture(texture0, textureCoordinate);
fragColor = dFdy(data);
}
4 : fdsy ft0, r2
fdsy ft1, r3
mov r0, ft0;
mov r1, ft1;