I'm attempting to implement deferred shading. I've got a number of problems with it, but first and foremost, depth testing is not working right.
In my deferred shading, I create a depth buffer, naturally. Depth testing works fine with this. But if I create a depth and stencil buffer, depth testing just doesn't work. It's peculiar.
Buffer creation, depth component only, depth testing works: