commit | 9983a27cbe4f123f4e7fcce59c0d8b61b0f73924 | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Fri Aug 25 15:13:25 2006 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Fri Aug 25 15:13:25 2006 +0000 |
tree | 83224b9f779828578bf6f35b864ec9f3b473b6bc | |
parent | a574c804a09c19fdbf5f6e6eac0767d3d8f57490 [diff] [blame] |
added _mesa_alloc_instructions() utility function
diff --git a/src/mesa/shader/program.h b/src/mesa/shader/program.h index a8535cc..6a34533 100644 --- a/src/mesa/shader/program.h +++ b/src/mesa/shader/program.h
@@ -115,6 +115,9 @@ _mesa_lookup_program(GLcontext *ctx, GLuint id); extern struct prog_instruction * +_mesa_alloc_instructions(GLuint numInst); + +extern struct prog_instruction * _mesa_realloc_instructions(struct prog_instruction *oldInst, GLuint numOldInst, GLuint numNewInst);