summaryrefslogtreecommitdiff
path: root/src/glsl/ir_function.cpp
AgeCommit message (Collapse)Author
2010-07-20glsl2: Add and use new variable mode ir_var_temporaryIan Romanick
This is quite a large patch because breaking it into smaller pieces would result in the tree being intermitently broken. The big changes are: * Add the ir_var_temporary variable mode * Change the ir_variable constructor to take the mode as a parameter and correctly specify the mode for all ir_varables. * Change the linker to not cross validate ir_var_temporary variables. * Change the linker to pull all ir_var_temporary variables from global scope into 'main'.
2010-07-19glsl2: Explicitly walk lists in ir_function::parameter_lists_matchIan Romanick
Give ir_function::parameter_lists_match_exist similar treatment. Make the parameters const, and propogate the constness as far as it will trivially go.
2010-07-12ir_function: Make matching_signature not return constIan Romanick
The linker needs to use this function to get specific function signatures, but it also needs to modify the returned signature. Since this method isn't itself const (i.e., const this pointer), there is no value in making a const and non-const version.
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt