summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_build.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-24 10:02:44 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-11-24 13:11:05 -0700
commit434e255eae90b0f3d836d452b7d3b0c5aadf78b8 (patch)
tree1b058d899dffba5a634b96d2b60aa0a9f22f5676 /src/gallium/auxiliary/tgsi/tgsi_build.c
parent1240280e6a7697eabd55d1a4edc6b23cae52c498 (diff)
tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_build.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_build.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c
index 38fcaf88293..eee2db7771a 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_build.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_build.c
@@ -119,6 +119,8 @@ tgsi_default_declaration( void )
declaration.UsageMask = TGSI_WRITEMASK_XYZW;
declaration.Interpolate = TGSI_INTERPOLATE_CONSTANT;
declaration.Semantic = 0;
+ declaration.Centroid = 0;
+ declaration.Invariant = 0;
declaration.Padding = 0;
declaration.Extended = 0;