Improve depth interpolation in reference renderer