Fall the depth test to the simplest and correct one
Merge pull request #2908 from raven02/patch-3

Fall back the depth test to the simplest and correct one