gallivm: deduplicate some indirect register address code
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_tgsi_info.c
index b00aa094d38a445fb22fa5a5233b250fdc8cb138..184790b702f05c4351adcde244975646f88dac29 100644 (file)
@@ -433,7 +433,7 @@ dump_info(const struct tgsi_token *tokens,
                &tex_info->coord[chan];
          if (chan_info->file != TGSI_FILE_NULL) {
             debug_printf(" %s[%u].%c",
-                         tgsi_file_names[chan_info->file],
+                         tgsi_file_name(chan_info->file),
                          chan_info->u.index,
                          "xyzw01"[chan_info->swizzle]);
          } else {