I was wondering how often you can say a fragment shader is run...
Can you say that only 1 fragment shader is called for each pixel on the screen? Or is it run for each pixel in each triangle that is drawn? Or is it something in between and does it depend on the order of drawing the triangles and how the zbuffer is filled?

Or is it none of the above?

Thanks!