mesa: additional case in file_string()
authorBrian Paul <brianp@vmware.com>
Thu, 8 Jan 2009 01:44:41 +0000 (18:44 -0700)
committerAlan Hourihane <alanh@vmware.com>
Fri, 9 Jan 2009 11:16:38 +0000 (11:16 +0000)
src/mesa/shader/prog_print.c

index 29b4d90a3e8b65ee113afb50a97ff5742bf30fb2..8f33d4f651d09981ed130ec4f81235fa4b15faf9 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!";
    }