Make function bodies rely on the parameter variable declarations.
authorEric Anholt <eric@anholt.net>
Wed, 7 Apr 2010 21:32:53 +0000 (14:32 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 8 Apr 2010 00:23:23 +0000 (17:23 -0700)
commitfbc7c0b8f2e161bce1c048c63d2d5cfcdeb096f1
tree844b220fd9ba21041473312f5d1f847221ea41f2
parent6173312d84daabaf6dbe8fa15558cba4c9cb9f5e
Make function bodies rely on the parameter variable declarations.

Previously, generating inlined function bodies was going to be
difficult, as there was no mapping between the body's declaration of
variables where parameter values were supposed to live and the
parameter variables that a caller would use in paramater setup.
Presumably this also have been a problem for actual codegen.
ast_to_hir.cpp
builtin_function.cpp
glsl_types.cpp
ir_print_visitor.cpp