Find a file
Eric Anholt b2ed4dd7b0 ir_to_mesa: Get temps allocated at the right times.
The alloced_vec4/vec4 distinction was an experiment to expose the cost
of temps to the codegen.  But the problem is that the temporary
production rule gets called after the emit rule that was using the
temp.  We could have the args to emit_op be pointers to where the temp
would get allocated later, but that seems overly hard while just
trying to bring this thing up.  Besides, the temps used in expressions
bear only the vaguest relation to how many temps will be used after
register allocation.
2010-06-24 15:05:19 -07:00
builtins Add forgotten autogenerated EXT_texture_array_fs folder. 2010-06-09 16:46:09 -07:00
glcpp preprocessor: Initialize a potentially uninitialized variable. 2010-06-23 16:13:31 -07:00
main ir_to_mesa: Print out the resulting program. 2010-06-24 15:05:19 -07:00
mesa/shader ir_to_mesa: Print out the ir along with the Mesa IR. 2010-06-24 15:05:19 -07: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 Ignore the generated codegen files for now. 2010-06-24 15:05:19 -07:00
ast.h ast_node: Remove empty destructor. 2010-06-23 16:16:32 -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 Generate errors for empty constructors instead of asserting 2010-06-23 13:58:34 -07:00
ast_to_hir.cpp Don't forget to add the declaration of our temporary variable for assigns. 2010-06-24 13:32:35 -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 Implement 1.30 int/uint variants of min/max/clamp. 2010-06-09 16:14:45 -07:00
builtin_types.h Add EXT_texture_array support. 2010-06-09 11:14:58 -07:00
builtin_variables.h ir_variable: Set locations for shader built-in variables 2010-06-23 10:56:03 -07:00
configure.ac configure: Ensure that config.h can be safely included multiple times. 2010-06-23 16:13:31 -07:00
glsl_lexer.lpp Remove comment support from the main lexer. 2010-06-23 14:14:57 -07:00
glsl_parser.ypp Only initialize types after #extension directives have been processed. 2010-06-09 11:14:58 -07:00
glsl_parser_extras.cpp ast_node: Remove empty destructor. 2010-06-23 16:16:32 -07:00
glsl_parser_extras.h glcpp: Print to the main compiler's infolog, not stdout. 2010-06-21 12:41:05 -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 Avoid using the same ir_constant 0.0 multiple times in mat constructors. 2010-06-23 15:20:29 -07:00
glsl_types.h glsl_type: Add method to get number of slots used by a type 2010-06-23 10:56:04 -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 Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir.cpp Move ir_constant cloning alongside the other cloning functions. 2010-06-24 13:32:35 -07:00
ir.h Fix typos of "variable" as "varaible" 2010-06-23 16:12:53 -07:00
ir_basic_block.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -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_clone.cpp Quiet unused arg warning for ir_constant cloning. 2010-06-24 13:32:35 -07:00
ir_constant_expression.cpp Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -07:00
ir_constant_folding.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir_constant_variable.cpp ir: Give ir_instruction a print visitor helper. 2010-06-22 18:18:30 -07:00
ir_copy_propagation.cpp ir: Give ir_instruction a print visitor helper. 2010-06-22 18:18:30 -07:00
ir_dead_code.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir_dead_code_local.cpp ir: Give ir_instruction a print visitor helper. 2010-06-22 18:18:30 -07:00
ir_expression_flattening.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -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: Allow inlining of loops and conditionals. 2010-06-23 15:20:29 -07:00
ir_function_inlining.cpp Make inlined function variables auto, not in/out. 2010-06-24 15:05:11 -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 ir_function_inlining: Re-add the "s/return/retval =/" functionality. 2010-06-24 13:32:35 -07:00
ir_hierarchical_visitor.h ir_function_inlining: Re-add the "s/return/retval =/" functionality. 2010-06-24 13:32:35 -07:00
ir_hv_accept.cpp Hook up texturing in the hierarchical visitor. 2010-06-22 18:18:30 -07:00
ir_if_simplification.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir_optimization.h ir_constant_variable: New pass to mark constant-assigned variables constant. 2010-06-01 15:15:04 -07:00
ir_print_visitor.cpp Attach a pointer to variable names in LIR dumping. 2010-06-24 13:32:35 -07:00
ir_print_visitor.h ir_print_visitor: Add support for ir_texture. 2010-06-09 11:14:57 -07:00
ir_reader.cpp Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -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_swizzle_swizzle.cpp Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL. 2010-06-22 12:30:55 -07:00
ir_to_mesa.cpp ir_to_mesa: Get temps allocated at the right times. 2010-06-24 15:05:19 -07:00
ir_to_mesa.h ir_to_mesa: Make the first temp index we use 1 to show off bugs. 2010-06-24 15:05:19 -07:00
ir_validate.cpp ir_validate: Use callback functionality in ir_hierarchical_visitor 2010-06-23 09:25:33 -07:00
ir_variable.cpp ir_variable: Set locations for shader built-in variables 2010-06-23 10:56:03 -07:00
ir_vec_index_to_swizzle.cpp ir: Give ir_instruction a print visitor helper. 2010-06-22 18:18:30 -07:00
ir_visitor.h Add stub visitor support for ir_texture. 2010-06-09 11:14:57 -07:00
linker.cpp Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -07:00
list.h Add queries to determine if a node is a list sentinal 2010-06-11 13:51:09 -07:00
main.cpp ir_validate: New pass for checking our invariants. 2010-06-22 18:18:30 -07:00
Makefile.am ir_to_mesa: Print out the resulting program. 2010-06-24 15:05:19 -07:00
mesa_codegen.brg ir_to_mesa: Get temps allocated at the right times. 2010-06-24 15:05:19 -07:00
program.h ir_to_mesa: Start building GLSL IR to Mesa IR conversion. 2010-06-24 15:05:19 -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
TODO TODO: Add note about initializers for constants 2010-06-17 20:37:17 -07:00