Mesa (master): os: Don't assert on missing implementation of barrier init/ destroy. Just usage.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Fri Feb 5 13:56:28 UTC 2010


Module: Mesa
Branch: master
Commit: e95e5caee6fac27d96a75a467318c3d650469f85
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e95e5caee6fac27d96a75a467318c3d650469f85

Author: José Fonseca <jfonseca at vmware.com>
Date:   Fri Feb  5 13:54:21 2010 +0000

os: Don't assert on missing implementation of barrier init/destroy. Just usage.

---

 src/gallium/auxiliary/os/os_thread.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h
index 24a2309..8ae9030 100644
--- a/src/gallium/auxiliary/os/os_thread.h
+++ b/src/gallium/auxiliary/os/os_thread.h
@@ -215,12 +215,10 @@ typedef unsigned pipe_barrier;
 static INLINE void pipe_barrier_init(pipe_barrier *barrier, unsigned count)
 {
    /* XXX we could implement barriers with a mutex and condition var */
-   assert(0);
 }
 
 static INLINE void pipe_barrier_destroy(pipe_barrier *barrier)
 {
-   assert(0);
 }
 
 static INLINE void pipe_barrier_wait(pipe_barrier *barrier)




More information about the mesa-commit mailing list