diff options
author | Kenneth Graunke <[email protected]> | 2010-11-11 12:21:27 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2010-11-30 13:48:28 -0800 |
commit | 01a25bb64ecae156729794320f9a39733ff8eeaa (patch) | |
tree | f8e30a2c03f2d63b48c50f52969c4a7cbbf440ba /src/glsl/ir.h | |
parent | 4ce084c7072931732fba7ae1d73a4e4e20269f9d (diff) |
glsl: Refactor out cloning of function prototypes.
This allows us to reuse some code and will be useful later.
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 625397a5995..102a68b6551 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -376,6 +376,8 @@ public: virtual ir_function_signature *clone(void *mem_ctx, struct hash_table *ht) const; + ir_function_signature *clone_prototype(void *mem_ctx, + struct hash_table *ht) const; virtual void accept(ir_visitor *v) { |