Add PROGRAM_FILE_MAX for i965 driver.
authorEric Anholt <anholt@FreeBSD.org>
Wed, 9 Aug 2006 19:10:23 +0000 (19:10 +0000)
committerEric Anholt <anholt@FreeBSD.org>
Wed, 9 Aug 2006 19:10:23 +0000 (19:10 +0000)
While here, make PROGRAM_UNDEFINED just the next value in the enum.

src/mesa/main/mtypes.h

index 5424afc9f639eb7a52092d17e58e8051393c1fc1..49befa262fa83621b028d4386927ffa720dcd5e1 100644 (file)
@@ -1837,7 +1837,8 @@ enum register_file
    PROGRAM_CONSTANT = 7,
    PROGRAM_WRITE_ONLY = 8,
    PROGRAM_ADDRESS = 9,
-   PROGRAM_UNDEFINED = 15  /* invalid value */
+   PROGRAM_UNDEFINED = 10,  /* invalid value */
+   PROGRAM_FILE_MAX
 };