Ah, I understand now. I was thinking there was a 1:1 mapping of all vertices from the vertex to fragment shader, but I didn't account for those vertices lost as a result of failing those tests. Thanks!
Ah, I understand now. I was thinking there was a 1:1 mapping of all vertices from the vertex to fragment shader, but I didn't account for those vertices lost as a result of failing those tests. Thanks!
A vertex is never lost in the depth or stencil test; only fragments. It doesn't make sense to depth or stencil test a vertex.