summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c
index 509bc5c1241..523430b3ca7 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_build.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_build.c
@@ -835,6 +835,7 @@ tgsi_default_ind_register( void )
struct tgsi_ind_register ind_register;
ind_register.File = TGSI_FILE_NULL;
+ ind_register.Index = 0;
ind_register.Swizzle = TGSI_SWIZZLE_X;
ind_register.ArrayID = 0;