diff options
author | Brian Paul <[email protected]> | 2004-04-21 18:09:14 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-04-21 18:09:14 +0000 |
commit | 05a6f2fd484bab59c6e6a381f58808adc26619f1 (patch) | |
tree | 6e946ed3619b65fbf5d9f77d5e214dcf40eedbfe /src/mesa/main | |
parent | 6164ae2b5a7ad00181aa2a80634e80e58c8c3fb6 (diff) |
Fix up some assorted issues with initialization of vertex program registers.
Some need to be set per-vertex, other per-primitive. Cleared that up.
Only need to init temp/result registers if executing an NV vertex program.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index aeeab827332..a86b2ce5ac2 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1559,6 +1559,7 @@ struct vertex_program { struct program Base; /* base class */ struct vp_instruction *Instructions; /* Compiled instructions */ + GLboolean IsNVProgram; /* GL_NV_vertex_program ? */ GLboolean IsPositionInvariant; /* GL_NV_vertex_program1_1 */ GLuint InputsRead; /* Bitmask of which input regs are read */ GLuint OutputsWritten; /* Bitmask of which output regs are written to */ |