glsl: Move is_built_in flag from ir_function_signature to ir_function.
Also rename it to "is_builtin" for consistency. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:

committed by
Ian Romanick

parent
5d25746640
commit
b6f15869b3
@@ -726,14 +726,14 @@ link_intrastage_shaders(GLcontext *ctx,
|
||||
ir_function_signature *sig =
|
||||
(ir_function_signature *) iter.get();
|
||||
|
||||
if (!sig->is_defined || sig->is_built_in)
|
||||
if (!sig->is_defined || f->is_builtin)
|
||||
continue;
|
||||
|
||||
ir_function_signature *other_sig =
|
||||
other->exact_matching_signature(& sig->parameters);
|
||||
|
||||
if ((other_sig != NULL) && other_sig->is_defined
|
||||
&& !other_sig->is_built_in) {
|
||||
&& !other_sig->function()->is_builtin) {
|
||||
linker_error_printf(prog,
|
||||
"function `%s' is multiply defined",
|
||||
f->name);
|
||||
|
Reference in New Issue
Block a user