summaryrefslogtreecommitdiff
path: root/src/mesa/program
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-12-08 18:24:48 -0700
committerBrian Paul <brianp@vmware.com>2010-12-08 18:24:48 -0700
commit379332f629153220614e651225b0521cd64c98b9 (patch)
tree810a2e6cec9edc7bd82a14a7e7ffc6d7d67397c3 /src/mesa/program
parentc6d74bcbfcb54e0c03f4c3d7e82bc1267f36ffe4 (diff)
mesa: program printing for PROGRAM_SYSTEM_VALUE
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/prog_print.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c
index abebf392c0..484596af76 100644
--- 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