How exactly are you writing to the other image? If it's not through the blend unit, it might be incrementing whenever the fragment program is run, not whenever it actually produced a pixel. If so,...