[Mesa-dev] [PATCH] clover: Update the wait_count of the correct event when chaining events

Emil Velikov emil.l.velikov at gmail.com
Wed Apr 8 11:41:55 PDT 2015


Hi Tom,

Ping for patch#2 for clover. Do let me know if either one is no longer
applicable.

Thanks
Emil

On 25 March 2015 at 17:43, Tom Stellard <thomas.stellard at amd.com> wrote:
> Cc: 10.5 10.4 <mesa-stable at 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++;
>        _chain.push_back(ev);
>     }
>     ev.deps.push_back(*this);
> --
> 2.0.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list