summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2010-07-30 13:30:11 -0700
committerKenneth Graunke <[email protected]>2010-07-30 13:30:11 -0700
commit939a1807fe5a70db25725335ba0acccce8b01db3 (patch)
tree7dc4923a09a9d599866c1a8cf148051c030e60bb
parent805cbf39224580fdb85b09a21be7cbc658f0ecf6 (diff)
glsl2: Initialize ir_function_signature::is_built_in.
Fixes a valgrind error.
-rw-r--r--src/glsl/ir.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp
index 7178c68e6bd..2b5f441ddd8 100644
--- a/src/glsl/ir.cpp
+++ b/src/glsl/ir.cpp
@@ -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;
}