There is a patch on mesa-dev list fixing it, hopefully they'll commit it soon.