summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/shader/toy_tgsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/shader/toy_tgsi.c b/src/gallium/drivers/ilo/shader/toy_tgsi.c
index 045d279ef8c..ad6161d5894 100644
--- a/src/gallium/drivers/ilo/shader/toy_tgsi.c
+++ b/src/gallium/drivers/ilo/shader/toy_tgsi.c
@@ -2565,11 +2565,11 @@ dump_reg_mapping(void *key, void *val, void *data)
if (tgsi_dim) {
ilo_printf(" v%d:\t%s[%d][%d]\n", vrf,
- tgsi_file_names[tgsi_file], tgsi_dim, tgsi_index);
+ tgsi_file_name(tgsi_file), tgsi_dim, tgsi_index);
}
else {
ilo_printf(" v%d:\t%s[%d]\n", vrf,
- tgsi_file_names[tgsi_file], tgsi_index);
+ tgsi_file_name(tgsi_file), tgsi_index);
}
return PIPE_OK;