Mesa (master): tgsi: ifdef out unused function micro_sqrt.

Vinson Lee vlee at kemper.freedesktop.org
Sat Feb 20 08:58:36 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Feb 20 00:56:32 2010 -0800

tgsi: ifdef out unused function micro_sqrt.

---

 src/gallium/auxiliary/tgsi/tgsi_exec.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c
index fdbf2b4..593c3cb 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.c
@@ -960,6 +960,7 @@ micro_pow(
 #endif
 }
 
+#if 0
 static void
 micro_sqrt( union tgsi_exec_channel *dst,
             const union tgsi_exec_channel *src )
@@ -969,6 +970,7 @@ micro_sqrt( union tgsi_exec_channel *dst,
    dst->f[2] = sqrtf( src->f[2] );
    dst->f[3] = sqrtf( src->f[3] );
 }
+#endif
 
 static void
 micro_sub(union tgsi_exec_channel *dst,




More information about the mesa-commit mailing list