clover: No need for clover::is_zero() to be a functor.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 19 Oct 2012 09:29:40 +0000 (11:29 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 19 Oct 2012 10:38:44 +0000 (12:38 +0200)
commit26fc30ef83a9b1bb3d7379e7816e1f1eaafd6fb3
treefcc8988c8066dc793cf416d1c40de9adaf138237
parent6551c4ea3cc21169696920c5f3d3fb0bb8d6e939
clover: No need for clover::is_zero() to be a functor.

Simplify is_zero() somewhat, and as a side effect work around a gcc compiler
bug that causes build failure.

https://bugs.freedesktop.org/show_bug.cgi?id=56140

Reported-by: Dmitry Cherkassov <dcherkassov@gmail.com>
src/gallium/state_trackers/clover/api/context.cpp
src/gallium/state_trackers/clover/api/kernel.cpp
src/gallium/state_trackers/clover/api/program.cpp
src/gallium/state_trackers/clover/api/transfer.cpp
src/gallium/state_trackers/clover/core/base.hpp