I also had these glitches in Serious Sam 3 and a Radeon HD5870 (AMD CYPRESS) using Mesa 10.1.0-devel (git-1e71493). But no glitches with 9.2.4 (Fedora packages). Anyway your patch Vadim fixes the problem indeed. But to be more precise, the glitches was only here when FXAA (Fast Approximate Anti-Aliasing) was set to "High" or "Ultra", but not when set to "None", "Low" or "Medium".