Probably fixed by http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0528118dfb1af00e7d08cdb637191b80c14c2ba .