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 2c942914aefc5e933990c85b23cc0064493616ae..1bf5363f52a084205bbade327b04c268cc7dc1d0 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();