diff options
-rw-r--r-- | src/glsl/link_functions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/link_functions.cpp b/src/glsl/link_functions.cpp index f86aec689b1..d62c16853bc 100644 --- a/src/glsl/link_functions.cpp +++ b/src/glsl/link_functions.cpp @@ -154,6 +154,8 @@ public: linked_sig->replace_parameters(&formal_parameters); + linked_sig->is_intrinsic = sig->is_intrinsic; + if (sig->is_defined) { foreach_in_list(const ir_instruction, original, &sig->body) { ir_instruction *copy = original->clone(linked, ht); |