Mesa3D Graphics Library (Bleeding edge ray tracing branches)
Go to file
Carl Worth 8f52c9b5fc ast_node: Add new talloc-based new()
And use the talloc-based new for all of the ast objects created by the
parser.  This closes a lot of memory leaks, and will allow us to use
these ast objects as talloc parents in the future, (for things like
exec_nodes, etc.).

This closes 164 leaks in the glsl-orangebook-ch06-bump.frag test:

	total heap usage: 55,623 allocs, 14,553 frees
	(was 14,389 frees)
2010-06-23 18:15:28 -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 Import some bits Mesa's mtypes.h 2010-06-23 11:24:26 -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 Add missing build products to gitignore 2010-06-22 12:24:42 -07:00
Makefile.am Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -07:00
TODO TODO: Add note about initializers for constants 2010-06-17 20:37:17 -07:00
ast.h ast_node: Add new talloc-based new() 2010-06-23 18:15:28 -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 Fix double usage of the post-inc/dec's temporary pre-inc/dec copy. 2010-06-23 15:20:29 -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 ast_node: Add new talloc-based new() 2010-06-23 18:15:28 -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 glsl_symbol_table: Add new talloc-based new() 2010-06-23 16:35:45 -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 ir_variable: Add some missing initialization to the constructor. 2010-06-23 16:12:53 -07:00
ir.h glsl_symbol_table: Add new talloc-based new() 2010-06-23 16:35:45 -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 Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -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 Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -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_hierarchical_visitor: Add generic callback functionality 2010-06-23 09:25:28 -07:00
ir_hierarchical_visitor.h Fix typos of "variable" as "varaible" 2010-06-23 16:12:53 -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 Add a virtual clone() method to ir_instruction. 2010-06-23 15:20:29 -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_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 glsl_symbol_table: Add new talloc-based new() 2010-06-23 16:35:45 -07:00
program.h Import gl_program_parameter and gl_program_parameter_list types from Mesa 2010-06-23 11:24:26 -07:00
s_expression.cpp exec_node: Remove destructor from exec_node and all descendants. 2010-06-23 16:38:05 -07:00
s_expression.h exec_node: Remove destructor from exec_node and all descendants. 2010-06-23 16:38:05 -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