Technically if he wants to do depth-pass instead of depth-fail, he has to change two or three lines of code. He probably added a workaround for the depth-pass near clipping plane errors.
Depth-fail is chosen due to working in the Camera-in-shadow-volume case, not the near clipping plane errors. This is the workaround he needs to solve for considering the Doom3 usage case.