I tried this using software rasterizer in Mesa 7.7. Screenshot is in the attachment.
Maybe this matters, i tested windows version of it, using WINE. Anyway, it does work correctly on nVidia proprietary driver, so i guess it's Mesa bug.
Works with swrast and r300g here. Closing..
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.