summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-07 18:44:41 -0700
committerBrian Paul <brianp@vmware.com>2009-01-07 18:44:41 -0700
commitbc7d2c4f51c56787b261e6ab6f9a77d39c3493e1 (patch)
treeec07e46393f80ea41b5a54339c8c80d8eedcfa15 /src
parent9629be5e07dc1d2b69cf7a761a6bb3ac0ec26453 (diff)
mesa: additional case in file_string()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/prog_print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c
index 9215ed7abf6..0ec13a415c4 100644
--- a/src/mesa/shader/prog_print.c
+++ b/src/mesa/shader/prog_print.c
@@ -71,6 +71,8 @@ file_string(enum register_file f, gl_prog_print_mode mode)
return "ADDR";
case PROGRAM_SAMPLER:
return "SAMPLER";
+ case PROGRAM_UNDEFINED:
+ return "UNDEFINED";
default:
return "Unknown program file!";
}