Number of Geometry Shader Executions?
-
29-10-2019 - |
Question
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?
Solution
It's executed once for each primitive (triangle, line or point) after the vertex shader has transformed the constituent vertices.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow