summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-14 12:39:41 -0600
committerBrian Paul <[email protected]>2008-05-14 12:39:41 -0600
commit19ad9cf7741c641bd83d20485b32d11fe27ca8df (patch)
tree5f3a147e42e08ccb6ae72a432859a60659ea7978 /src/mesa/shader/program.h
parent450136d368ce7a08cf25992c79b51f51f8a9bb7c (diff)
mesa: added _mesa_insert_instructions()
Also, use new _mesa_free_instructions() in a few places. cherry-picked from gallium-0.1
Diffstat (limited to 'src/mesa/shader/program.h')
-rw-r--r--src/mesa/shader/program.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/program.h b/src/mesa/shader/program.h
index 9a6883e6a55..c5d36c78a03 100644
--- a/src/mesa/shader/program.h
+++ b/src/mesa/shader/program.h
@@ -112,6 +112,8 @@ _mesa_reference_fragprog(GLcontext *ctx,
extern struct gl_program *
_mesa_clone_program(GLcontext *ctx, const struct gl_program *prog);
+extern GLboolean
+_mesa_insert_instructions(struct gl_program *prog, GLuint start, GLuint count);
/*
* API functions common to ARB/NV_vertex/fragment_program