[Mesa-dev] [Bug 56140] [Mesa-current] [clover] build failure in clvover/api/transfer.cpp
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 18 07:45:55 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=56140
--- Comment #1 from Dmitry Cherkassov <dcherkassov at gmail.com> ---
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) {
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121018/8ff94449/attachment.html>
More information about the mesa-dev
mailing list