https://bugs.freedesktop.org/show_bug.cgi?id=37028
--- Comment #16 from Sven Arvidsson sa@whiz.se 2011-06-07 12:29:19 PDT --- I'm using a 5670 (Redwood) and the patch seems to solve the problems here. The test application works with the patch and asserts without it:
query error : 2147483647 != 68698 query: query.cpp:104: int main(int, char**): Assertion `false' failed.
I have only given Amnesia a quick try, but there are no longer any obvious rendering errors, and the piglit test general/occlusion_query now passes. Great job! \(^ ^)/