summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-07 18:44:41 -0700
committerAlan Hourihane <[email protected]>2009-01-09 11:16:38 +0000
commitefd120842498a908bf722413ed603e368f2e18b3 (patch)
treeabaa9f45cbf3aea656acb229f02133c540f08785 /src/mesa/shader
parentd33b0f1a8d7eb295cc403b12dce9d56b3f0393b2 (diff)
mesa: additional case in file_string()
Diffstat (limited to 'src/mesa/shader')
-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 29b4d90a3e8..8f33d4f651d 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!";
}