diff options
author | Kenneth Graunke <[email protected]> | 2013-08-30 16:12:55 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-09-09 11:46:51 -0700 |
commit | 4b0bac0dce31ab6c5c36fc35347e6e0e3b2ecc2a (patch) | |
tree | 7f7fb4f8f21f577ce3bf4d887fcfdadd22d2e93f /src/glsl/ir_clone.cpp | |
parent | ca321d07fda7d4c550eec985c79bbafb3dfbf570 (diff) |
glsl: Convert ir_function_signature::is_builtin to a method.
A signature is a built-in if and only if builtin_info != NULL, so we
don't actually need a separate flag bit. Making a boolean-valued
method allows existing code to ask the same question while not worrying
about the internal representation.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/ir_clone.cpp')
-rw-r--r-- | src/glsl/ir_clone.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index 52e2fb54e41..a91afb7ac84 100644 --- a/src/glsl/ir_clone.cpp +++ b/src/glsl/ir_clone.cpp @@ -329,7 +329,6 @@ ir_function_signature::clone_prototype(void *mem_ctx, struct hash_table *ht) con new(mem_ctx) ir_function_signature(this->return_type); copy->is_defined = false; - copy->is_builtin = this->is_builtin; copy->builtin_info = this->builtin_info; copy->origin = this; |