summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-07-20 11:27:38 -0700
committerIan Romanick <[email protected]>2010-07-20 17:48:24 -0700
commit60e2d06d1ccc66ad00cd7ab81c418853f21be291 (patch)
treef464e04e73a934858b92153b35ae5c1a79f7c426 /src/glsl/ir.h
parent2462a536ea5c98867296905e3da127eba7c7bdff (diff)
glsl2: Implement utility routine to talloc reparent an IR tree
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 9fd9850391f..e4b0e9f0822 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -1315,4 +1315,7 @@ extern void
_mesa_glsl_initialize_functions(exec_list *instructions,
struct _mesa_glsl_parse_state *state);
+extern void
+reparent_ir(exec_list *list, void *mem_ctx);
+
#endif /* IR_H */