Created attachment 42699 [details]
comparing some applications before and after commit
After commit 2a456dc123e8263de8e4666890a34f403faa9a39, regressions on many OpenGL test applications, like missing textures. See screenshots in attachment (good VS bad results).
I tested on another computer (same versions of everything, but different hardware).
The problem appears on my 64bit machine, which is usingthe r600g. It can't be reproduced on a 32bit machine, with i915g.
Fixed with the latest patch series (likely 8c631cfeae29b5236928f759e222aa35e6e4984c).
I confirm it's fixed. Thanks.