Mesa (main): mesa/barrier: remove unused barrier functions

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Dec 6 22:41:28 UTC 2021


Module: Mesa
Branch: main
Commit: 2db58c3f89da8bc783418357fb7fbe1228eee5aa
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2db58c3f89da8bc783418357fb7fbe1228eee5aa

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Dec  6 16:44:20 2021 +1000

mesa/barrier: remove unused barrier functions

Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14075>

---

 src/mesa/main/barrier.c | 13 -------------
 src/mesa/main/barrier.h |  3 ---
 2 files changed, 16 deletions(-)

diff --git a/src/mesa/main/barrier.c b/src/mesa/main/barrier.c
index 2be30220e49..82f2dce86ac 100644
--- a/src/mesa/main/barrier.c
+++ b/src/mesa/main/barrier.c
@@ -31,19 +31,6 @@
 #include "context.h"
 #include "barrier.h"
 
-
-static void
-_mesa_texture_barrier(struct gl_context *ctx)
-{
-   /* no-op */
-}
-
-void
-_mesa_init_barrier_functions(struct dd_function_table *driver)
-{
-   driver->TextureBarrier = _mesa_texture_barrier;
-}
-
 void GLAPIENTRY
 _mesa_TextureBarrierNV(void)
 {
diff --git a/src/mesa/main/barrier.h b/src/mesa/main/barrier.h
index acc15c67794..a3becae167c 100644
--- a/src/mesa/main/barrier.h
+++ b/src/mesa/main/barrier.h
@@ -35,9 +35,6 @@
 
 struct dd_function_table;
 
-extern void
-_mesa_init_barrier_functions(struct dd_function_table *driver);
-
 extern void GLAPIENTRY
 _mesa_TextureBarrierNV(void);
 



More information about the mesa-commit mailing list