FDSX

Format: FDSX dest, source.

Phase0: FDSX FT0, S0{.NEG}{.ABS}

Phase1: FDSX FT1, S3{.NEG}{.ABS}-

Phase2: -

Description: Gradient in x direction, one source

D = Pix1 – Pix0
Table 1. Example:
void main()
{
    vec4 data = texture(texture0, textureCoordinate);
    fragColor = dFdx(data);
}
4    : fdsx ft0, r2
       fdsx ft1, r3
       mov r0, ft0;
       mov r1, ft1;