From 4c9f12d69c7e8a24ac6281481f579b1088c505b0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 2 Aug 2013 08:00:54 -0600 Subject: tgsi: remove unneeded File == TGSI_FILE_INPUT test We're already in an "if (File == TGSI_FILE_INPUT)" block at that point. --- src/gallium/auxiliary/tgsi/tgsi_scan.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/auxiliary') diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c b/src/gallium/auxiliary/tgsi/tgsi_scan.c index 3578ccfbbc5..1294a7a98a7 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c @@ -114,7 +114,6 @@ tgsi_scan_shader(const struct tgsi_token *tokens, } if (procType == TGSI_PROCESSOR_FRAGMENT && - src->Register.File == TGSI_FILE_INPUT && info->reads_position && src->Register.Index == 0 && (src->Register.SwizzleX == TGSI_SWIZZLE_Z || -- cgit v1.2.3