!!ATIfs1.0

StartConstants;

CONSTANT c0 = { 0.299, 0.584, 0.117, 0 };

EndConstants;

StartPrelimPass;

SampleMap	r0, t0.str;

DOT3	r0.rgb, r0, c0;

EndPass;

StartOutputPass;

SampleMap	r1, r0.str;

MOV	r0.rgb, r1;

EndPass;
