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:
parent
3e4b5c6c9c
commit
4c9f12d69c
|
@ -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 ||
|
||||
|
|
Loading…
Reference in New Issue