Find a file
Kenneth Graunke 05ddebac0a Fix ir_return cloning to actually use the cloned subexpression.
This caused a nasty bug where the function inliner would create new
variables for each of the formal parameters, but the body would still
reference the old copies.

This was highly visible since the dead code eliminator (rightly) removed
the new declarations, leading to printed IR that referenced non-existent
variable names.
2010-05-01 00:31:35 -07:00
main Initial commit. lol 2010-02-22 13:19:34 -08:00
tests Ensure that both parameter lists are the same length in function overloading. 2010-04-21 15:36:36 -07:00
.dir-locals.el Set C++ indent too. 2010-03-08 13:02:58 -08:00
.gitignore Replace builtin_types.h generation with the generated output. 2010-04-23 16:12:44 -07:00
ast.h Begin converting structure definitions to IR 2010-04-28 18:22:53 -07:00
ast_expr.cpp Fix up the operator printing for the logic or and beyond, check array bounds. 2010-03-25 16:47:49 -07:00
ast_function.cpp glsl_type::generate_constructor_prototype now generates the function too 2010-04-28 18:22:54 -07:00
ast_to_hir.cpp Track and print user defined structure types 2010-04-28 18:22:54 -07:00
ast_type.cpp Add parser support for texture rectangle types 2010-03-29 16:44:29 -07:00
autogen.sh autoconf for the ... 2010-02-25 17:17:23 -08:00
builtin_function.cpp builtin_functions: Clean up compiler warning about unused name, instructions. 2010-04-23 16:12:44 -07:00
builtin_types.h De-obfuscate some of builtin_types.h. 2010-04-23 16:12:44 -07:00
builtin_variables.h Fix the type of gl_FogFragCoord. 2010-04-14 15:28:01 -07:00
configure.ac autoconf for the ... 2010-02-25 17:17:23 -08:00
glsl_lexer.lpp Initial implementation of #line 2010-04-26 14:19:49 -07:00
glsl_parser.ypp Use IDENTIFIER instead of TYPE_NAME for structure names 2010-04-28 18:22:47 -07:00
glsl_parser_extras.cpp IR print visitor: Move logic for printing the whole program to _mesa_print_ir 2010-04-28 18:22:54 -07:00
glsl_parser_extras.h Track and print user defined structure types 2010-04-28 18:22:54 -07:00
glsl_symbol_table.h Add query to determine whether a name was declared at this scope 2010-03-19 15:37:01 -07:00
glsl_types.cpp glsl_type::generate_constructor_prototype now generates the function too 2010-04-28 18:22:54 -07:00
glsl_types.h glsl_type::generate_constructor_prototype now generates the function too 2010-04-28 18:22:54 -07:00
hash_table.c Initial commit. lol 2010-02-22 13:19:34 -08:00
hash_table.h Add proper wrappers so that C++ code can use hash_table type 2010-03-30 16:57:29 -07:00
hir_field_selection.cpp Convert structure field dereferences to HIR 2010-04-28 18:22:54 -07:00
ir.cpp Implement structures and arrays in ir_dereference::is_lvalue 2010-04-28 18:22:54 -07:00
ir.h Add ir_dereference constructor for structure field dereferences 2010-04-28 18:22:54 -07:00
ir_constant_expression.cpp Remove ir_label since it is no longer used. 2010-04-21 15:37:10 -07:00
ir_constant_folding.cpp Remove ir_label since it is no longer used. 2010-04-21 15:37:10 -07:00
ir_constant_folding.h Remove ir_label since it is no longer used. 2010-04-21 15:37:10 -07:00
ir_dead_code.cpp Fix ir_dead_code for function refactoring. 2010-04-21 16:02:15 -07:00
ir_dead_code.h Remove dead code assignments and variable declarations. 2010-04-19 15:33:52 -07:00
ir_expression_flattening.cpp Remove ir_label since it is no longer used. 2010-04-21 15:37:10 -07:00
ir_expression_flattening.h Add support for inlining calls done inside of expressions. 2010-04-16 12:56:18 -07:00
ir_function.cpp Factor out parameter list matching from ast_function::hir for later reuse. 2010-04-28 15:34:52 -07:00
ir_function_can_inline.cpp ir_function_inlining: Implement inlining in many more cases. 2010-04-23 16:12:44 -07:00
ir_function_inlining.cpp Fix ir_return cloning to actually use the cloned subexpression. 2010-05-01 00:31:35 -07:00
ir_function_inlining.h ir_function_inlining: Implement inlining in many more cases. 2010-04-23 16:12:44 -07:00
ir_if_simplification.cpp Remove ir_label since it is no longer used. 2010-04-21 15:37:10 -07:00
ir_if_simplification.h Add an ir_if simplification pass. 2010-04-14 17:05:13 -07:00
ir_print_visitor.cpp Track and print user defined structure types 2010-04-28 18:22:54 -07:00
ir_print_visitor.h IR print visitor: Move logic for printing the whole program to _mesa_print_ir 2010-04-28 18:22:54 -07:00
ir_reader.cpp ir_reader: Slightly better error message when failing to read swizzles. 2010-04-28 18:14:54 -07:00
ir_reader.h Add stub ir_reader and new 'i' mode for reading IR rather than GLSL. 2010-04-28 18:14:53 -07:00
ir_variable.cpp Implement gl_TextureMatrix built-in uniform 2010-04-26 14:59:32 -07:00
ir_visitor.h Remove ir_label since it is no longer used. 2010-04-21 15:37:10 -07:00
list.h Inline functions consisting of a return of an expression. 2010-04-08 11:24:06 -07:00
Makefile.am Add stub ir_reader and new 'i' mode for reading IR rather than GLSL. 2010-04-28 18:14:53 -07:00
s_expression.cpp Add a simple S-Expression reader and printer. 2010-04-28 18:14:36 -07:00
s_expression.h Add a simple S-Expression reader and printer. 2010-04-28 18:14:36 -07:00
symbol_table.c Allow duplicate symbols at the same scope that are in different name spaces 2010-03-24 14:56:36 -07:00
symbol_table.h Add function to determine the scope where a variable is declared 2010-03-19 15:32:57 -07:00