Mesa (master): tgsi: remove unused function

Brian Paul brianp at kemper.freedesktop.org
Thu Nov 4 20:00:21 UTC 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Nov  4 13:35:20 2010 -0600

tgsi: remove unused function

---

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

diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c
index 1f7d7f1..16a205f 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_build.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_build.c
@@ -177,17 +177,6 @@ tgsi_build_declaration_range(
 }
 
 static struct tgsi_declaration_dimension
-tgsi_default_declaration_dimension(void)
-{
-   struct tgsi_declaration_dimension dd;
-
-   dd.Index2D = 0;
-   dd.Padding = 0;
-
-   return dd;
-}
-
-static struct tgsi_declaration_dimension
 tgsi_build_declaration_dimension(unsigned index_2d,
                                  struct tgsi_declaration *declaration,
                                  struct tgsi_header *header)




More information about the mesa-commit mailing list