From: Eric Anholt Date: Wed, 9 Aug 2006 19:10:23 +0000 (+0000) Subject: Add PROGRAM_FILE_MAX for i965 driver. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b52bed98729a05feab28f6d2b0677e4f84c44c3;p=mesa.git Add PROGRAM_FILE_MAX for i965 driver. While here, make PROGRAM_UNDEFINED just the next value in the enum. --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 5424afc9f63..49befa262fa 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -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 };