!!ARBfp1.0
OPTION ARB_precision_hint_fastest;
TEMP coord, coord2, cdelta, parmx,
parmy, a, b, yuv;
TEX yuv.r, fragment.texcoord[0], texture[0], 2D;
TEX
yuv.g, fragment.texcoord[1], texture[1], 2D;
TEX yuv.b,
fragment.texcoord[2], texture[2], 2D;
PARAM ycoef = {1.1640, 1.1640,
1.1640};
PARAM ucoef = {0.0000, -0.3910, 2.0180};
PARAM vcoef = {1.5960,
-0.8130, 0.0000};
PARAM offsets = {-0.8742, 0.5313, -1.0860};
TEMP
res;
MAD res.rgb, yuv.rrrr, ycoef, offsets;
MAD res.rgb, yuv.gggg, ucoef,
res;
MAD result.color.rgb, yuv.bbbb, vcoef, res;
END