summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2006-08-09 19:10:23 +0000
committerEric Anholt <[email protected]>2006-08-09 19:10:23 +0000
commit7b52bed98729a05feab28f6d2b0677e4f84c44c3 (patch)
tree351b57efa723973cd551a449f1f05e9a19259d6a
parent46f20579a28ac97dd6fd9cc505301b0764eb011a (diff)
Add PROGRAM_FILE_MAX for i965 driver.
While here, make PROGRAM_UNDEFINED just the next value in the enum.
-rw-r--r--src/mesa/main/mtypes.h3
1 files changed, 2 insertions, 1 deletions
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
};