diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-07-22 02:53:38 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-07-22 02:53:38 +0000 |
commit | 61e694f270d8a4a03a3245b5e6eea805915ed74b (patch) | |
tree | 1a0d95f224b5493df55b67f909d28561f367ca36 /src/mesa/main | |
parent | db251d72c84256267cd1f7c062071a7143455048 (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.h | 3 |
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 */ }; |