Quasi-linear Z buffer