How to guarantee access to the depth texture?

Hey, perhaps this can help?