projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e2dd6
)
tgsi: don't dump interpolation info except for fragment shader inputs
author
Keith Whitwell
<keithw@vmware.com>
Fri, 27 Feb 2009 19:33:17 +0000
(19:33 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Fri, 27 Feb 2009 19:34:27 +0000
(19:34 +0000)
Don't print the meaningless and confusing CONSTANT interpolation
attribute after everything else.
src/gallium/auxiliary/tgsi/tgsi_dump.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_dump.c
b/src/gallium/auxiliary/tgsi/tgsi_dump.c
index
d57cb91
..
a784b7c
100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_dump.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_dump.c
@@
-245,8
+245,12
@@
iter_declaration(
}
}
- TXT( ", " );
- ENM( decl->Declaration.Interpolate, interpolate_names );
+ if (iter->processor.Processor == TGSI_PROCESSOR_FRAGMENT &&
+ decl->Declaration.File == TGSI_FILE_INPUT)
+ {
+ TXT( ", " );
+ ENM( decl->Declaration.Interpolate, interpolate_names );
+ }
if (decl->Declaration.Centroid) {
TXT( ", CENTROID" );