diff options
author | Brian Paul <[email protected]> | 2013-06-06 09:46:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-06-07 09:23:24 -0600 |
commit | 14541dacab218cbe82310d999d44130ebc3f6526 (patch) | |
tree | 1295e6f153bf8c3276f12ad51837bef67a4a81d4 /src/gallium/drivers/ilo | |
parent | 97d641eb229e48cacc448eefb583381a27bd8af1 (diff) |
tgsi: replace tgsi_file_names tgsi_file_names[] with tgsi_file_name() function
This change came from the discovery that the STATIC_ASSERT to check that
the number of register file strings didn't actually work.
Similar changes could be made for the other string arrays in tgsi_string.c
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r-- | src/gallium/drivers/ilo/shader/toy_tgsi.c | 4 |
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; |