After some more experimentation, it looks like it's specifically a problem with float literals, which are floored / truncated. Things work when I simply replace them with uniforms and set their value in JavaScript.
-- Basic shaders produce incorrect output https://bugs.launchpad.net/bugs/676183 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to mesa in ubuntu. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp