clamp
clamp

Reputation: 34016

Number of Geometry Shader Executions?

So a vertex shader is executed for each vertex and a fragment shader for each fragment (right?).

How many times is a geometry shader executed?

Upvotes: 4

Views: 448

Answers (1)

andrewmu
andrewmu

Reputation: 14534

It's executed once for each primitive (triangle, line or point) after the vertex shader has transformed the constituent vertices.

Upvotes: 4

Related Questions