Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-26 | Replace remaining use of is_error_type with glsl_type::is_error | Ian Romanick | |
2010-03-26 | Replace remaining uses of is_numeric_base_type with glsl_type::is_numeric | Ian Romanick | |
2010-03-26 | Replace is_integer_base_type macro with glsl_type::is_integer method | Ian Romanick | |
2010-03-26 | Make glsl_*_type glsl_type class static data | Ian Romanick | |
2010-03-26 | Use glsl_type::is_error instead of comparison with glsl_error_type pointer | Ian Romanick | |
2010-03-26 | Move swizzles out of ir_dereference and into their own class. | Kenneth Graunke | |
Also turn generate_swizzle into a static "create" method of the new class; we'll want to use it for the IR reader as well. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-26 | Add new abstract ir_rvalue class; rework accordingly. | Kenneth Graunke | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-26 | Replace "mode" type tag with virtual as_foo() downcasting functions. | Kenneth Graunke | |
These should work well even in a non-flat IR hierarchy. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-25 | Merge branch 'anholt' | Ian Romanick | |
2010-03-25 | Fix assignment operators: *=, /=, +=, -=. | Eric Anholt | |
Basically, replace everything different from operator_assign other than the creation of the rhs value from the lvalue and rvalue with the contents of operator_assign. Fixes a segfault in CorrectSwizzle1.frag, and fixes parser10.frag. | |||
2010-03-25 | Before generating HIR for user code, generate constructors for built-in types | Ian Romanick | |
2010-03-25 | Use glsl_type::row_type and glsl_type::column type in arithmetic_result_type | Ian Romanick | |
This substantially clarifies the code for matching matrix types. It also eliminates some uses of glsl_type member data. | |||
2010-03-24 | Replace several field comparisons with a single pointer comparison | Ian Romanick | |
The only way the specified type fields can match is if the types are the same. Previous tests (and assertions) have filtered away all other possible cases. | |||
2010-03-24 | Use glsl_type::get_instance instead of symbol table look-up | Ian Romanick | |
2010-03-24 | Replace accesses to glsl_type data with query functions | Ian Romanick | |
In these particular cases, using the query functions makes it more obvious what is happening. | |||
2010-03-23 | ir_function constructor now takes the function name as a parameter | Ian Romanick | |
2010-03-23 | Add *some* type checking for assignments | Ian Romanick | |
2010-03-23 | Disallow passing NULL for state to _mesa_glsl_error | Ian Romanick | |
The two places that were still passing NULL had a state pointer to pass. Not passing it in these places prevented termination of compilation of erroneous programs. | |||
2010-03-23 | Fix typographical errors of "FINISHME" | Ian Romanick | |
2010-03-23 | Generate an error for variables declared with type void | Ian Romanick | |
2010-03-23 | Set, and require, a return type for function signatures | Ian Romanick | |
2010-03-19 | Track the function that is currently being defined | Ian Romanick | |
Later this will allow type checking for return statements. | |||
2010-03-19 | Initial bits for converting AST return nodes to IR return instructions | Ian Romanick | |
2010-03-19 | Use glsl_symbol_table::name_declared_this_scope | Ian Romanick | |
Prevent most illegal name reuse. | |||
2010-03-19 | Use glsl_symbol_table instead of using _mesa_symbol_table directly | Ian Romanick | |
2010-03-15 | Ensure that ast_type always has type_name set | Ian Romanick | |
For built-in types, type_name would be NULL. This ensures that type_name is set even for the built-in types. This simplifies code in a few places and centralizes the name setting code. | |||
2010-03-15 | Move ast_function_expression::hir to ast_function.cpp | Ian Romanick | |
2010-03-11 | Initial pass at resolving function calls | Ian Romanick | |
The code is still really rough and *REALLY* incomplete. This at least passes the first few trivially simple test cases. | |||
2010-03-11 | Default function parameters to 'in' instead of auto | Ian Romanick | |
2010-03-11 | Add ir_call call to represent function calls. | Ian Romanick | |
2010-03-10 | Make ast_function_expression subclass of ast_expression | Ian Romanick | |
2010-03-10 | IR variable: Initial work to support GLSL built-in variables | Ian Romanick | |
2010-03-10 | Move top-level AST to HIR conversion to _mesa_ast_to_hir | Ian Romanick | |
2010-03-10 | AST to IR: Mark 'varying' in a vertex shader as 'out' | Ian Romanick | |
2010-03-09 | Add assignment side-effect to the instruction stream | Ian Romanick | |
The actual assignment is a side-effect of the assignment expression. Add it to the instruction stream and return the LHS of the assignment as its rvalue. | |||
2010-03-09 | Convert is_glsl_type_matrix to glsl_type::is_matrix | Ian Romanick | |
2010-03-09 | Convert is_glsl_type_vector to glsl_type::is_vector | Ian Romanick | |
2010-03-09 | Convert is_glsl_type_scalar to glsl_type::is_scalar | Ian Romanick | |
2010-03-08 | Remove unused function | Ian Romanick | |
2010-03-08 | Conver IR structures to use exec_list instead of simple_node | Ian Romanick | |
2010-03-01 | Make AST->HIR conversion a method of ast_node, re-enable | Ian Romanick | |
2010-02-22 | Rename .cc files to .cpp | Ian Romanick | |