ATI get uniform array bug? Not really

Calling GetUniform on an array without appending a ‘[0]’ doesn’t work.

According to the spec - if I’m reading it right - both names should be accepted, e.g. “myarray” and “myarray[0]”.

[Radeon 4650, Cat 8.9]

Nevermind…

I stupidly grabbed all uniforms up front in a wrapper and ended up accessing them by the name returned by GetActiveUniform, which incidentally is “arrayName” on NV and “arrayName[0]” on ATI. sigh

:o ,

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.