summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/state_trackers/clover/api/util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/state_trackers/clover/api/util.hpp')
-rw-r--r--lib/mesa/src/gallium/state_trackers/clover/api/util.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/mesa/src/gallium/state_trackers/clover/api/util.hpp b/lib/mesa/src/gallium/state_trackers/clover/api/util.hpp
index 66bd12597..31e20e424 100644
--- a/lib/mesa/src/gallium/state_trackers/clover/api/util.hpp
+++ b/lib/mesa/src/gallium/state_trackers/clover/api/util.hpp
@@ -68,17 +68,6 @@ namespace clover {
*p = desc(v());
}
}
-
- ///
- /// Return an API object from an intrusive reference to a Clover object,
- /// incrementing the reference count of the object.
- ///
- template<typename T>
- typename T::descriptor_type *
- ret_object(const intrusive_ref<T> &v) {
- v().retain();
- return desc(v());
- }
}
#endif