projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6d74bc
)
mesa: program printing for PROGRAM_SYSTEM_VALUE
author
Brian Paul
<brianp@vmware.com>
Thu, 9 Dec 2010 01:24:48 +0000
(18:24 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 9 Dec 2010 01:24:48 +0000
(18:24 -0700)
src/mesa/program/prog_print.c
patch
|
blob
|
history
diff --git
a/src/mesa/program/prog_print.c
b/src/mesa/program/prog_print.c
index abebf392c0ad9cc573124a8937c614db4afb18f9..484596af760664529a2fc1dab2036669c36863b6 100644
(file)
--- a/
src/mesa/program/prog_print.c
+++ b/
src/mesa/program/prog_print.c
@@
-72,6
+72,8
@@
_mesa_register_file_name(gl_register_file f)
return "ADDR";
case PROGRAM_SAMPLER:
return "SAMPLER";
+ case PROGRAM_SYSTEM_VALUE:
+ return "SYSVAL";
case PROGRAM_UNDEFINED:
return "UNDEFINED";
default:
@@
-310,6
+312,9
@@
reg_string(gl_register_file f, GLint index, gl_prog_print_mode mode,
case PROGRAM_UNIFORM: /* extension */
sprintf(str, "uniform[%s%d]", addr, index);
break;
+ case PROGRAM_SYSTEM_VALUE:
+ sprintf(str, "sysvalue[%s%d]", addr, index);
+ break;
case PROGRAM_STATE_VAR:
{
struct gl_program_parameter *param