OpenGL guy
Veteran
Shaders are not sent from the app to the driver when they are used. This only happens when they are created. When they are used, the app selects the shader by its handle and the driver then updates the HW state appropriately.Tridam said:I mean shaders are sent to the GPU when they are used and I presume that this is done per object. If you use different walking way when capturing shaders you'll introduce a difference in the captured shaders file.
Moreover the same shader is sent more than once.
So I think that you should try to use the same walking way to capture the shaders and you shouldn't count the shaders but uniquely the different ones.