ir_reader: Set function signatures as defined.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Apr 2010 06:17:58 +0000 (23:17 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 14 May 2010 23:34:46 +0000 (16:34 -0700)
ir_reader.cpp

index 2c94291..1bf5363 100644 (file)
@@ -295,6 +295,7 @@ read_function_sig(_mesa_glsl_parse_state *st, ir_function *f, s_list *list,
         return;
       }
       read_instructions(st, &sig->body, body_list, NULL);
+      sig->is_defined = true;
    }
 
    st->symbols->pop_scope();