diff options
author | Brian <[email protected]> | 2008-04-07 11:15:23 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-04-07 11:23:43 -0600 |
commit | f3bd7bf5c913d2a58d424e995b4d441e402bd62b (patch) | |
tree | 5f21229b703a7bb18b096df1906ed812957cf8c9 /src/mesa/shader/prog_instruction.h | |
parent | a8a5376406cabf5aa6a44f7d37f5f8abbb4adf56 (diff) |
mesa: added _mesa_free_instructions()
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r-- | src/mesa/shader/prog_instruction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h index e8a2407ea85..711166f9ddb 100644 --- a/src/mesa/shader/prog_instruction.h +++ b/src/mesa/shader/prog_instruction.h @@ -439,6 +439,9 @@ extern struct prog_instruction * _mesa_copy_instructions(struct prog_instruction *dest, const struct prog_instruction *src, GLuint n); +extern void +_mesa_free_instructions(struct prog_instruction *inst, GLuint count); + extern GLuint _mesa_num_inst_src_regs(gl_inst_opcode opcode); |