[Mesa-dev] [PATCH 2/2] st/clover: Always flush the queue when waiting on an hard_event

Niels Ole Salscheider niels_ole at salscheider-online.de
Thu Oct 3 05:05:02 PDT 2013


> Do you have any example of a real world application that relies on this?
> Or at least some reasonable use case?

The problem is that the queue is only cleared from already signalled events 
when we flush it. And we might not do this if the user only calls 
clWaitForEvents once the corresponding event has already been signalled.

I am fine with not flushing the queue, but we should at least make sure that 
signalled events are freed early enough.


More information about the mesa-dev mailing list