summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvvertparse.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-02-15 15:59:37 +0000
committerBrian Paul <[email protected]>2006-02-15 15:59:37 +0000
commitee40c4fb34bd06ecc6dd6f2e658ca2c2c20af952 (patch)
treef686dfe266e20e45c45bb8c90b09cc11e9d90c43 /src/mesa/shader/nvvertparse.c
parenta584e846d435070e67aff904fb79cfc9a6d7d05e (diff)
Set NumInstructions (bug 5864)
Diffstat (limited to 'src/mesa/shader/nvvertparse.c')
-rw-r--r--src/mesa/shader/nvvertparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/nvvertparse.c b/src/mesa/shader/nvvertparse.c
index 7aac631934a..accf6a36497 100644
--- a/src/mesa/shader/nvvertparse.c
+++ b/src/mesa/shader/nvvertparse.c
@@ -1388,6 +1388,7 @@ _mesa_parse_nv_vertex_program(GLcontext *ctx, GLenum dstTarget,
}
program->Base.Instructions = newInst;
program->Base.InputsRead = parseState.inputsRead;
+ program->Base.NumInstructions = parseState.numInst;
program->Base.OutputsWritten = parseState.outputsWritten;
program->IsPositionInvariant = parseState.isPositionInvariant;
program->IsNVProgram = GL_TRUE;