Hello,
I wrote a shader in version 110.
I changed an uniform variable from int to unsigned int.
I had no problem on my computer with nvidia card.
But on another computer with ATI X1300/1550 I have the compilation error : ‘unsigned’ reserved word.
I saw that “unsigned” is added since GLSL version 130.
So I set #version 130 in my shader.
But this changes nothing…
It is funny that things that are not in the specifs work on nvidia.
But it is not funny that things that may work do not work on ATI.
With glewinfo I saw that using glUnifor1ui is possible on this ATI with opengl 3.0 (ie GLSL 130).
Why does it not work on ATI ?
Is my “#version 130” not enough ?
I can use an int like now but I would like to understand…
Thanks