projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20156ce
)
mesa: tweak program register printing for RelAddr case
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 12 Nov 2008 18:12:10 +0000
(11:12 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 6 Jan 2009 15:43:14 +0000
(08:43 -0700)
(cherry picked from commit
557fde9531289b4388a3080b89c2ebaa38abeaee
)
src/mesa/shader/prog_print.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/prog_print.c
b/src/mesa/shader/prog_print.c
index
22b8f1d
..
4b92992
100644
(file)
--- 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;