diff options
author | Brian Paul <brianp@vmware.com> | 2013-08-02 08:00:54 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2013-08-05 10:25:08 -0600 |
commit | 4c9f12d69c7e8a24ac6281481f579b1088c505b0 (patch) | |
tree | 95cd0e2ca36de83293bf920be8c0277244fdef53 | |
parent | 3e4b5c6c9c14b80964bb20dc882f59c19d6b6f9d (diff) |
tgsi: remove unneeded File == TGSI_FILE_INPUT test
We're already in an "if (File == TGSI_FILE_INPUT)" block at that point.
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_scan.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 || |