Hi, I would like to if there is any way for me to get the number of invocation of vertex shader after rendering a model.
For example in D3D11, I can have this struct. Inside the struct, there is an attribute VSInvocations.
Code :typedef struct D3D11_QUERY_DATA_PIPELINE_STATISTICS { UINT64 IAVertices; UINT64 IAPrimitives; UINT64 VSInvocations; UINT64 GSInvocations; UINT64 GSPrimitives; UINT64 CInvocations; UINT64 CPrimitives; UINT64 PSInvocations; UINT64 HSInvocations; UINT64 DSInvocations; UINT64 CSInvocations; } D3D11_QUERY_DATA_PIPELINE_STATISTICS;
Are there anything similar in OpenGL?



Reply With Quote

