On Sunday 21 August 2011 00:18:56 Henri Verbeet wrote:
Yes, that's somewhat suspicious, although it's possible that the constants all being in a single array prevents that. I'd have to look up if the spec has anything to say about this.
I think that was about the attributes, not the uniforms. In my regression hunt I ran across a game that declared a vshader attribute and didn't actually use it, so the compiler optimized it away and glBindAttribLocationARB records a warning in the shader's info log.