While unreferencing fences as early as possible is not a bad idea, this patch
hides the underlying problem. That is, events are never deleted from the
queued_events list of the queue object if their fences are signalled before
the queue is flushed.
I will send a patch that fixes the problem shor
This makes sure that there are not too many concurrent fences.
Also, simplify status handling by keeping track of the current state.
Signed-off-by: Niels Ole Salscheider
---
src/gallium/state_trackers/clover/core/event.cpp | 29 +++-
src/gallium/state_trackers/clover/core/ev