Calculate GLSL shader cost
I'm new on this forum and in OpenGL(but have experiences in OpenCL, CUDA, C++AMP).
I have next problem:
I have a list of different shaders, that calculate on vertex and pixel shaders. And i need calculate how many instructions(cycles) contain this shader, for vertex and pixels. I understand that shader execution time depend not only from shader complexity. In ARM documentation(i can't share it because I'm new user ) i found how it can be calculated on Mali GPU's: But i use not Mali GPU's.
Do you have any ideas how i can do it?
Current target platform is Windows 7 x64 and Linux in future