tgsi: remove unneeded File == TGSI_FILE_INPUT test

We're already in an "if (File == TGSI_FILE_INPUT)" block at that point.
This commit is contained in:
Brian Paul 2013-08-02 08:00:54 -06:00
parent 3e4b5c6c9c
commit 4c9f12d69c
1 changed files with 0 additions and 1 deletions

View File

@ -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 ||