I can do the following in my fragment shader with a nvidia 4.50 context:
int myChar = 65;
if (myChar == 'A')
...
Are string literals a nvidia feature or is it standard GLSL?
I can’t find anything about it in the specification.
What’s the minimum GLSL version to use character literals?