Cg shader version of HQx filter