I'm currently trying to time different parts of my rendering to see how long it takes. I've got the queries working and I'm getting some results.
My question is where should I actually start and end the query?
If the query is wrapped around the
ID3D11DeviceContext::VSSetShader function will this tell me how long it took to set the vertex shader? Or will the tell me how long it took to call the function in c++?
I am trying to query the GPU and as far as I know the pipeline isn't executed until I call the
Do I need to do the queries in the shader code?