https://bugs.freedesktop.org/show_bug.cgi?id=31827
--- Comment #11 from Marek Olšák maraeo@gmail.com 2010-11-24 10:37:36 PST --- The if statement in the fragment shader is too complex. Could you possibly move the texture lookup in front of it and see if it helps?