Module: Mesa
Branch: merge-requests/2494
Commit: ca0751557f2479bd31ee3d723f3553b321443cad
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca0751557f2479bd31ee3d723f3553b321443cad

Author: Eric Engestrom <[email protected]>
Date:   Thu Oct 31 01:38:08 2019 +0000

gallium/pipe: drop unused PIPE_READ_WRITE_BARRIER() macro

Reviewed-by: Adam Jackson <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>

---

 src/gallium/include/pipe/p_compiler.h | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/src/gallium/include/pipe/p_compiler.h 
b/src/gallium/include/pipe/p_compiler.h
index 8c3a793e336..34710e5d440 100644
--- a/src/gallium/include/pipe/p_compiler.h
+++ b/src/gallium/include/pipe/p_compiler.h
@@ -155,22 +155,6 @@ typedef unsigned char boolean;
 
 #endif
 
-
-#if defined(__GNUC__)
-
-#define PIPE_READ_WRITE_BARRIER() __asm__("":::"memory")
-
-#elif defined(_MSC_VER)
-
-#define PIPE_READ_WRITE_BARRIER() _ReadWriteBarrier()
-
-#else
-
-#warning "Unsupported compiler"
-#define PIPE_READ_WRITE_BARRIER() /* */
-
-#endif
-
 #if defined(__cplusplus)
 }
 #endif

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to