Re: [Mesa-dev] [PATCH] meta: Fix saving the results of the current occlusion query

2015-02-12 Thread Ian Romanick
On 02/12/2015 01:39 PM, Carl Worth wrote: > On Tue, Nov 25 2014, Neil Roberts wrote: >> This patch fixes it by making it actually wait for the query object to be >> ready before grabbing the previous result. The downside of doing this is that >> it could introduce a stall but I think this situation

Re: [Mesa-dev] [PATCH] meta: Fix saving the results of the current occlusion query

2015-02-12 Thread Carl Worth
On Tue, Nov 25 2014, Neil Roberts wrote: > This patch fixes it by making it actually wait for the query object to be > ready before grabbing the previous result. The downside of doing this is that > it could introduce a stall but I think this situation is unlikely so it might > not matter too much.

[Mesa-dev] [PATCH] meta: Fix saving the results of the current occlusion query

2014-11-25 Thread Neil Roberts
When restoring the current state in _mesa_meta_end it was previously trying to copy the on-going sample count of the current occlusion query into the new query after restarting it so that the driver will continue adding to the previous value. This wouldn't work for two reasons. Firstly, the query m