Tom Stellard <thomas.stell...@amd.com> writes: > Cc: 10.5 10.4 <mesa-sta...@lists.freedesktop.org> > --- > src/gallium/state_trackers/clover/core/event.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/gallium/state_trackers/clover/core/event.cpp > b/src/gallium/state_trackers/clover/core/event.cpp > index 58de888..9d78b48 100644 > --- a/src/gallium/state_trackers/clover/core/event.cpp > +++ b/src/gallium/state_trackers/clover/core/event.cpp > @@ -67,7 +67,7 @@ event::signalled() const { > void > event::chain(event &ev) { > if (wait_count) { > - ev.wait_count++; > + wait_count++;
ev0->chain(ev1) establishes a dependency between ev0 and ev1 so that ev1 is signaled after ev0, while doing that only the number of unmet dependencies of ev1 (wait_count) can be incremented by one, so the code was already doing the right thing. > _chain.push_back(ev); > } > ev.deps.push_back(*this); > -- > 2.0.4
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev