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
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.
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