diff options
author | Brian Paul <[email protected]> | 2008-11-12 11:12:10 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-06 08:43:14 -0700 |
commit | 1ad6daf3a9aacd405bd38c8857b1aabae2eabb94 (patch) | |
tree | 4c4a9c72000e84998c7cf35e4d08444b5f7e2ae1 /src/mesa | |
parent | 20156ce5da7743f527b920add663f4fa65527dcd (diff) |
mesa: tweak program register printing for RelAddr case
(cherry picked from commit 557fde9531289b4388a3080b89c2ebaa38abeaee)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/prog_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index 22b8f1de3c2..4b92992f6dd 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -215,7 +215,7 @@ reg_string(enum register_file f, GLint index, gl_prog_print_mode mode, switch (mode) { case PROG_PRINT_DEBUG: if (relAddr) - sprintf(str, "%s[ADDR%s%d]", file_string(f, mode), (index > 0) ? "+" : "", index); + sprintf(str, "%s[ADDR+%d]", file_string(f, mode), index); else sprintf(str, "%s[%d]", file_string(f, mode), index); break; |