[Mesa-dev] [PATCH 2/6] st/clover: Add event to deps even if it has been triggered
Tom Stellard
tom at stellard.net
Mon Aug 26 18:29:12 PDT 2013
I've pushed this patch, thanks.
-Tom
On Fri, Aug 09, 2013 at 11:59:26AM +0200, Niels Ole Salscheider wrote:
> The command is submitted once the event has been triggered, but it might not
> have completed yet. Therefore, we have to add it to deps in order to wait on it.
>
> Signed-off-by: Niels Ole Salscheider <niels_ole at salscheider-online.de>
> ---
> src/gallium/state_trackers/clover/core/event.cpp | 2 +-
> 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
>
> diff --git a/src/gallium/state_trackers/clover/core/event.cpp b/src/gallium/state_trackers/clover/core/event.cpp
> index de21f0c..cbb97bf 100644
> --- a/src/gallium/state_trackers/clover/core/event.cpp
> +++ b/src/gallium/state_trackers/clover/core/event.cpp
> @@ -58,8 +58,8 @@ _cl_event::chain(clover::event *ev) {
> if (wait_count) {
> ev->wait_count++;
> __chain.push_back(ev);
> - ev->deps.push_back(this);
> }
> + ev->deps.push_back(this);
> }
>
> hard_event::hard_event(clover::command_queue &q, cl_command_type command,
> --
> 1.7.11.7
>
> _______________________________________________
> 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