Counting fragment calculation/frame


i got question regarding glsl. is it possible to get how many fragment calculation/frame? its easy to find vertex calculation as simply as counting the vertices, but im curious how can how many times the fragment shader is executed for one frame of my scene. is it possible to do that?

Yes, with occlusion query.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.