summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-07-22 02:53:38 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-07-22 02:53:38 +0000
commit61e694f270d8a4a03a3245b5e6eea805915ed74b (patch)
tree1a0d95f224b5493df55b67f909d28561f367ca36 /src/mesa/main
parentdb251d72c84256267cd1f7c062071a7143455048 (diff)
Make the vertex program source register Index field a signed int since
relative addressing can be negative. Change some GLuint indexes to GLint in the t_vp_build.c file. Added PROGRAM_UNDEFINED token for initializing the register File field to avoid a gcc 4.0 warning.
Diffstat (limited to 'src/mesa/main')
-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 d4f6c1f0d5..6c036da874 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1738,7 +1738,8 @@ enum register_file
PROGRAM_NAMED_PARAM,
PROGRAM_STATE_VAR,
PROGRAM_WRITE_ONLY,
- PROGRAM_ADDRESS
+ PROGRAM_ADDRESS,
+ PROGRAM_UNDEFINED /* invalid value */
};