Implement early depth test.