diff options
author | Brian Paul <[email protected]> | 2008-11-24 10:02:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-06 08:57:28 -0700 |
commit | dc48ae97dcd84acf691b33b0ea2e76c5fdfe18e1 (patch) | |
tree | 3381b3bbb4368e6cb605ab577a55c9c9fef2bda0 /src/gallium/auxiliary/tgsi/tgsi_dump.c | |
parent | a48b004c442ec89905ee1dfdd778c9bca603732c (diff) |
tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization
(cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8)
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 485e96379c0..2ed8c2bf07b 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_dump.c +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c @@ -248,6 +248,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; |