Add depthTest along with stencilTest since depth Fail/ZPass test used .
Merge pull request #3598 from raven02/patch-6

Add depthTest along with stencilTest since depth Fail/ZPass test used .