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 7178c68e6bdc9fc3923c1d5dea294287a98522d2..2b5f441ddd84ae023289540d895aebd862085a85 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;
 }