https://bugs.freedesktop.org/show_bug.cgi?id=43332
--- Comment #3 from Stefano Teso stefano.teso@gmail.com 2011-12-15 09:53:39 PST --- (In reply to comment #2)
The bug is also present in the libGL 7.11.2 shipped by debian, so I don't think it's a regression or a bug in my config.
It looks like that inst->Dst[0].Register.WriteMask == 3 in tgsi_scs (), so the ZW components of the dest register are never written. Perhaps this could explain the artifact. Not that I'm a GL expert or anything ;-)
Forcing the mask to 15 fixes the problem. Of course this is no solution. Likely the fragment color is not cleared properly before calling SCS?