mesa: additional case in file_string()
authorBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2009 01:44:41 +0000 (18:44 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2009 01:44:41 +0000 (18:44 -0700)
src/mesa/shader/prog_print.c

index 9215ed7abf64a769c77d032f66aff19c7a0d3b2f..0ec13a415c4fe34fd0b02e3ee955d62eaf0dfc2f 100644 (file)
@@ -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!";
    }