https://bugs.freedesktop.org/show_bug.cgi?id=36723
--- Comment #4 from Marek Olšák maraeo@gmail.com --- This is not a compiler issue. The fog isn't rendered properly, because there are not enough varyings. I have a patch that reuses unused color varyings for texcoords. It fixes the fog, but it also breaks a lot of other things.