I think I have been bitten by the feature of NVidias whereby they can dynamically recompile a shader due to changes in uniform.
I have a few moderately parameterised shaders, and a sometimes a uniform needs to be undated per frame, however I am hitting big cpu loads (50%+) when doing so, which looks like the previously discussed feature of NVidias where they recompile to potimise the shaders.
Now, I really really cannot afford for that to happen, does anyone know of a way to avoid it? unfortunately using vertex attributes instead of uniforms will not work in my application…
I have been trying drivers around 185 and the latest (2xx?) and if anything the new ones seem to respond a little worse than the old ones (I guess a slightly heavier optimiser?)
a #pragma DONT_RECOMPILE would be nice
Thanks a ton for any input.