projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e4b5c6
)
tgsi: remove unneeded File == TGSI_FILE_INPUT test
author
Brian Paul
<brianp@vmware.com>
Fri, 2 Aug 2013 14:00:54 +0000
(08:00 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 5 Aug 2013 16:25:08 +0000
(10:25 -0600)
We're already in an "if (File == TGSI_FILE_INPUT)" block at that point.
src/gallium/auxiliary/tgsi/tgsi_scan.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_scan.c
b/src/gallium/auxiliary/tgsi/tgsi_scan.c
index 3578ccfbbc5becf659fc53cd3a34b79b51349fb3..1294a7a98a7028cba95b23e6e545700b95672e48 100644
(file)
--- 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 ||