Why is depth test not done on geometry before rasterization?

by Colin   Last Updated January 12, 2018 17:13 PM

It seems the only time depth is used to discard data is during rasterization, i.e. at the fragment level.

In the geometry stage, I've only see culling and clipping of vertices. Is it not possible to determine whether if a triangle is behind another triangle using just vertex data (depth?) and discard if so? Wouldn't this save all the work later in scan conversion?



Related Questions


Scan-Line Z-Buffering Dilemma

Updated August 03, 2018 16:13 PM

How to manipulate interpolated normal in Phong shader?

Updated January 07, 2018 20:13 PM


Process of writing to the depth texture

Updated July 10, 2016 08:05 AM

color individual triangles on a mesh in Unity?

Updated March 04, 2017 07:13 AM