Find a file
Eric Anholt 459e4a286c ir_expression_flattening: Fix breakage from hierarchichal visitor.
Similar to other situations where the visitor pattern doesn't fit, in
this case we need the pointer to the base instruction in the
instruction stream for where to insert any new instructions we
generate (not the instruction in the tree we're looking at).  By
removing the code for setting the base_ir, flattened expressions would
end up, for example, before the function definition where they had appeared.
2010-06-01 15:15:04 -07:00
builtins Implement "tan" builtin. 2010-05-14 16:34:46 -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 Convert ast_node use of simple_node to exec_list and exec_node 2010-05-10 11:17: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 Begin refactoring ir_dereference 2010-05-26 15:23:19 -07:00
ast_to_hir.cpp Fix setting the maximum accessed array element 2010-05-26 15:23:25 -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 Refresh autogenerated builtin_function.cpp. 2010-05-14 16:34:46 -07:00
builtin_types.h De-obfuscate some of builtin_types.h. 2010-04-23 16:12:44 -07:00
builtin_variables.h FS gl_FragCoord and and gl_FrontFacing are FS ins, not outs. 2010-05-14 16:11:37 -07:00
configure.ac Remove the pedantic C junk. 2010-05-03 11:41:00 -07:00
glsl_lexer.lpp glsl_lexer: Quiet warning about unused unput(). 2010-05-03 11:40:25 -07:00
glsl_parser.ypp Convert ast_node use of simple_node to exec_list and exec_node 2010-05-10 11:17:53 -07:00
glsl_parser_extras.cpp Fix function call parameter printer to omit extraneous leading comma 2010-05-14 16:07:04 -07:00
glsl_parser_extras.h Convert ast_node use of simple_node to exec_list and exec_node 2010-05-10 11:17:53 -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 Begin refactoring ir_dereference 2010-05-26 15:23:19 -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 Begin refactoring ir_dereference 2010-05-26 15:23:19 -07:00
ir.cpp ir_dereference::mode is no longer used, kill with fire 2010-05-26 15:23:25 -07:00
ir.h ir_dereference::mode is no longer used, kill with fire 2010-05-26 15:23:25 -07:00
ir_basic_block.cpp Reimplement has_call_callback using ir_hierarchical_vistor 2010-05-17 12:03:13 -07:00
ir_basic_block.h ir_copy_propagation: Return true if we optimized out any assignments. 2010-05-05 09:32:44 -07:00
ir_constant_expression.cpp Refactor ir_dereference data fields to subclasses 2010-05-26 15:23:25 -07:00
ir_constant_folding.cpp Refactor ir_dereference data fields to subclasses 2010-05-26 15:23:25 -07:00
ir_copy_propagation.cpp Reimplement ir_copy_propagation_visitor using ir_hierarchical_vistor 2010-05-26 17:04:19 -07:00
ir_dead_code.cpp Refactor ir_dereference support for ir_hierarchical_visitor 2010-05-26 15:23:25 -07:00
ir_dead_code_local.cpp Refactor whole-variable assigment checking into member function 2010-05-26 15:23:25 -07:00
ir_expression_flattening.cpp ir_expression_flattening: Fix breakage from hierarchichal visitor. 2010-06-01 15:15:04 -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 Reimplement ir_function_can_inline_visitor using ir_hierarchical_vistor 2010-05-17 12:03:13 -07:00
ir_function_inlining.cpp Reimplement ir_function_inlining_visitor using ir_hierarchical_vistor 2010-05-26 18:58:27 -07:00
ir_function_inlining.h Move optimization pass prototypes to a single header. 2010-05-05 11:47:33 -07:00
ir_hierarchical_visitor.cpp Refactor ir_dereference support for ir_hierarchical_visitor 2010-05-26 15:23:25 -07:00
ir_hierarchical_visitor.h Refactor ir_dereference support for ir_hierarchical_visitor 2010-05-26 15:23:25 -07:00
ir_hv_accept.cpp Refactor ir_dereference data fields to subclasses 2010-05-26 15:23:25 -07:00
ir_if_simplification.cpp Reimplement ir_if_simplicifation_visitor using ir_hierarchical_vistor 2010-05-17 12:03:13 -07:00
ir_optimization.h Move optimization pass prototypes to a single header. 2010-05-05 11:47:33 -07:00
ir_print_visitor.cpp ir_reader: Read record_refs. 2010-05-26 15:24:53 -07:00
ir_print_visitor.h Refactor ir_dereference support for ir_visitor 2010-05-26 15:23:25 -07:00
ir_reader.cpp ir_reader: Read record_refs. 2010-05-26 15:24:53 -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 Quiet warnings about ir_shader not being handled in places it's not needed. 2010-05-03 11:40:26 -07:00
ir_visitor.h Refactor ir_dereference support for ir_visitor 2010-05-26 15:23:25 -07:00
list.h exec_list: Add foreach_list_typed and foreach_list_typed_const 2010-05-10 17:40:41 -07:00
Makefile.am ir_visit_tree is no longer used, remove ir_visit_tree.{cpp,h} 2010-05-17 12:03:13 -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