diff options
author | Ian Romanick <[email protected]> | 2010-06-29 18:53:38 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-07-12 18:51:55 -0700 |
commit | 13f782c4ae4e38e64ec4fe87a1c24597a5e894c3 (patch) | |
tree | 073251c0f9c563a0f1ea59a6c274d03ac2c4714b /src/glsl/ir_clone.cpp | |
parent | e2e5d0def490ed03970efa0a7468fef0623ae617 (diff) |
linker: Implement first bits of intrastage linking
This currently involves an ugly hack so that every link doesn't result
in all the built-in functions showing up as multiply defined. As soon
as the built-in functions are stored in a separate compilation unit,
ir_function_signature::is_built_in can be removed.
Diffstat (limited to 'src/glsl/ir_clone.cpp')
-rw-r--r-- | src/glsl/ir_clone.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index f1547d9106f..2562ad91187 100644 --- a/src/glsl/ir_clone.cpp +++ b/src/glsl/ir_clone.cpp @@ -287,6 +287,7 @@ ir_function_signature::clone(struct hash_table *ht) const new(mem_ctx) ir_function_signature(this->return_type); copy->is_defined = this->is_defined; + copy->is_built_in = this->is_built_in; /* Clone the parameter list. */ |