glsl: Convert ir_function_signature::is_builtin to a method.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Aug 2013 23:12:55 +0000 (16:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 9 Sep 2013 18:46:51 +0000 (11:46 -0700)
commit4b0bac0dce31ab6c5c36fc35347e6e0e3b2ecc2a
tree7f7fb4f8f21f577ce3bf4d887fcfdadd22d2e93f
parentca321d07fda7d4c550eec985c79bbafb3dfbf570
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>
src/glsl/ir.cpp
src/glsl/ir.h
src/glsl/ir_clone.cpp
src/glsl/ir_constant_expression.cpp
src/glsl/link_functions.cpp
src/glsl/linker.cpp