From 05a6f2fd484bab59c6e6a381f58808adc26619f1 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 21 Apr 2004 18:09:14 +0000 Subject: 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. --- src/mesa/main/mtypes.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main') diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index aeeab82733..a86b2ce5ac 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 */ -- cgit v1.2.3