From: Brian Paul Date: Thu, 4 Nov 2010 19:35:20 +0000 (-0600) Subject: tgsi: remove unused function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef6b7e0a30814badd201ca1b3e1f5afb4ba21fef;p=mesa.git tgsi: remove unused function --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c index 1f7d7f190aa..16a205f2068 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_build.c +++ b/src/gallium/auxiliary/tgsi/tgsi_build.c @@ -176,17 +176,6 @@ tgsi_build_declaration_range( return 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,