Originally Posted by sfink
Rather nasty error behavior -- almost everything appears to work fine, including compiling shaders and running with them. But some things silently and uncomplainingly do the wrong thing.
Someday, I'll slog through the preprocessor swamp and figure out why.
I am an idiot. No need to slog through anything; the reason is obvious. I was ignoring warning messages about various functions not being defined -- functions with floating point arguments. In my code, I was passing in things like 1 and 0, which are integers in the absence of a prototype.
Now I have to return to my actual code to see what's going wrong, since my stupid stripped-down test case is invalid and irrelevant.