From 7b52bed98729a05feab28f6d2b0677e4f84c44c3 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 9 Aug 2006 19:10:23 +0000 Subject: Add PROGRAM_FILE_MAX for i965 driver. While here, make PROGRAM_UNDEFINED just the next value in the enum. --- src/mesa/main/mtypes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 5424afc9f6..49befa262f 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 }; -- cgit v1.2.3