<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [Mesa-current] [clover] build failure in clvover/api/transfer.cpp"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=56140#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [Mesa-current] [clover] build failure in clvover/api/transfer.cpp"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=56140">bug 56140</a>
              from <span class="vcard"><a class="email" href="mailto:dcherkassov@gmail.com" title="Dmitry Cherkassov <dcherkassov@gmail.com>"> <span class="fn">Dmitry Cherkassov</span></a>
</span></b>
        <pre>that dirty patch makes it at least compile

diff --git a/src/gallium/state_trackers/clover/api/transfer.cpp
b/src/gallium/state_trackers/clover/api/transfer.cpp
index 8ea8f86..10b454b 100644
--- a/src/gallium/state_trackers/clover/api/transfer.cpp
+++ b/src/gallium/state_trackers/clover/api/transfer.cpp
@@ -39,8 +39,7 @@ namespace {
       if (!q)
          throw error(CL_INVALID_COMMAND_QUEUE);

-      if (bool(num_deps) != bool(deps) ||
-          any_of(is_zero<cl_event>(), deps, deps + num_deps))
+      if (bool(num_deps) != bool(deps))
          throw error(CL_INVALID_EVENT_WAIT_LIST);

       if (any_of([&](const cl_event ev) {</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>