glsl2: Initialize ir_function_signature::is_built_in.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Jul 2010 20:30:11 +0000 (13:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Jul 2010 20:30:11 +0000 (13:30 -0700)
Fixes a valgrind error.

src/glsl/ir.cpp

index 7178c68..2b5f441 100644 (file)
@@ -837,6 +837,7 @@ ir_function_signature::ir_function_signature(const glsl_type *return_type)
    : return_type(return_type), is_defined(false), _function(NULL)
 {
    this->ir_type = ir_type_function_signature;
+   this->is_built_in = false;
 }