summaryrefslogtreecommitdiff
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-07-20 11:28:31 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-07-21 15:52:58 -0700
commit4ccd3c548b9b9a2fee79342445f68d73525bfcdb (patch)
treea0bcbaa1872a701f3d81bd1aab2c35110141a74c /src/glsl/ir.h
parent56d33f8e2be1695c951a811fac1800117c2ca406 (diff)
glsl2: Add function to import function prototypes from one IR tree to another
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index e4b0e9f082..38b10f5b06 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -1318,4 +1318,10 @@ _mesa_glsl_initialize_functions(exec_list *instructions,
extern void
reparent_ir(exec_list *list, void *mem_ctx);
+class glsl_symbol_table;
+
+extern void
+import_prototypes(const exec_list *source, exec_list *dest,
+ class glsl_symbol_table *symbols, void *mem_ctx);
+
#endif /* IR_H */