summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_clone.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-08-30 16:12:55 -0700
committerKenneth Graunke <kenneth@whitecape.org>2013-09-09 11:46:51 -0700
commit4b0bac0dce31ab6c5c36fc35347e6e0e3b2ecc2a (patch)
tree7f7fb4f8f21f577ce3bf4d887fcfdadd22d2e93f /src/glsl/ir_clone.cpp
parentca321d07fda7d4c550eec985c79bbafb3dfbf570 (diff)
downloadexternal_mesa3d-4b0bac0dce31ab6c5c36fc35347e6e0e3b2ecc2a.zip
external_mesa3d-4b0bac0dce31ab6c5c36fc35347e6e0e3b2ecc2a.tar.gz
external_mesa3d-4b0bac0dce31ab6c5c36fc35347e6e0e3b2ecc2a.tar.bz2
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 <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/glsl/ir_clone.cpp')
-rw-r--r--src/glsl/ir_clone.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp
index 52e2fb5..a91afb7 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;