Add depth buffer patch