diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-24 10:02:44 -0700 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-24 13:11:05 -0700 |
commit | 434e255eae90b0f3d836d452b7d3b0c5aadf78b8 (patch) | |
tree | 1b058d899dffba5a634b96d2b60aa0a9f22f5676 /src/gallium/auxiliary/tgsi/tgsi_dump.c | |
parent | 1240280e6a7697eabd55d1a4edc6b23cae52c498 (diff) |
tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_dump.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c index 3177f54952..c2a0ac5aff 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_dump.c +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c @@ -246,6 +246,14 @@ iter_declaration( TXT( ", " ); ENM( decl->Declaration.Interpolate, interpolate_names ); + if (decl->Declaration.Centroid) { + TXT( ", CENTROID" ); + } + + if (decl->Declaration.Invariant) { + TXT( ", INVARIANT" ); + } + EOL(); return TRUE; |