https://bugs.freedesktop.org/show_bug.cgi?id=42435
--- Comment #3 from Alexander Sabourenkov screwdriver@lxnt.info 2011-11-01 02:42:01 PDT --- Worked around the issue by moving all texture sampling to fragment shader. (even works on 965)
Also, just moving sampling outside conditional blocks did not change anything.