Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-25 | Fix up the operator printing for the logic or and beyond, check array bounds. | Eric Anholt | |
2010-03-25 | Merge branch 'anholt' | Ian Romanick | |
2010-03-25 | Set up fragment shader builtin variables. | Eric Anholt | |
2010-03-25 | Make the standalone parser return an exit code so we can automate testing. | Eric Anholt | |
2010-03-25 | More matrix compilation tests | Ian Romanick | |
2010-03-25 | Merge branch 'kwg' | Ian Romanick | |
2010-03-25 | Fix matrix dimensioning | Ian Romanick | |
Newb GL mistake: matrices in GL are column-major. This means that vector_elements is the number of rows. Making these changes causes matrix-08.glsl to pass. | |||
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-25 | Replace several glsl_type field comparisons with a single pointer comparison | Ian Romanick | |
This simplifies the process of matching function parameter types. More simplifications are probably possible here, but arrays and structures need to be implemented first. | |||
2010-03-25 | Add queries to get the glsl_type of a row or column of a matrix | Ian Romanick | |
2010-03-25 | Widen num_components to handle vec4 correctly. | Kenneth Graunke | |
2010-03-25 | Typo fixes: de/re/ference. | Kenneth Graunke | |
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 | Remove unused _mesa_glsl_get_vector_type | Ian Romanick | |
This function has been completely replaced by glsl_type::get_instance. | |||
2010-03-24 | Use glsl_type::get_instance instead of _mesa_glsl_get_vector_type | Ian Romanick | |
2010-03-24 | Use glsl_type::get_instance instead of symbol table look-up | Ian Romanick | |
2010-03-24 | Add some matrix math tests | Ian Romanick | |
2010-03-24 | Add glsl_type::get_instance method | Ian Romanick | |
Gets the singleton corresponding to a particular scalar, vector, or matrix type. | |||
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-24 | Add class-private handles to matrix types in glsl_type | Ian Romanick | |
2010-03-24 | Fix typo in swizzle processing loop | Ian Romanick | |
One of the accesses to str in the loop used str[0] instead of str[i]. Reported-by: Kenneth Graunke | |||
2010-03-24 | Trivial cleanups in generate_swizzle | Ian Romanick | |
Add 'const' and 'static const' in a couple of places. | |||
2010-03-24 | Use ir_dereference::set_swizzle | Ian Romanick | |
2010-03-24 | Add method to set the swizzle of an ir_dereference | Ian Romanick | |
2010-03-24 | Allow duplicate symbols at the same scope that are in different name spaces | Ian Romanick | |
2010-03-24 | Merge branch 'anholt' | Ian Romanick | |
2010-03-24 | Add (negative) test for constructing samplers | Ian Romanick | |
2010-03-23 | ir_function constructor now takes the function name as a parameter | Ian Romanick | |
2010-03-23 | Add glsl_type::get_base_type query | Ian Romanick | |
Retreives the glsl_type that corresponds to the base type of a numeric scalar / vector / matrix type. So vec4 returns float, etc. | |||
2010-03-23 | Add glsl_type::is_numeric and glsl_type::is_boolean queries | Ian Romanick | |
2010-03-23 | Begin processing constructors | Ian Romanick | |
Right now, reject constructors for samplers because the are illegal. | |||
2010-03-23 | Add query to determine whether a type is a sampler | Ian Romanick | |
2010-03-23 | Add test for invalid assignment of function return value | 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 | Include other generated sources in BUILT_SOURCES. | Eric Anholt | |
Otherwise, having cleaned glsl_parser.h, we'd never regenerate it because glsl_parser.cpp was already right where it needed to be. | |||
2010-03-23 | Use bash for the built file generation since builtin_types.sh requires it. | Eric Anholt | |
2010-03-23 | Clean the built sources with make clean. | Eric Anholt | |
2010-03-23 | Generate an error for variables declared with type void | Ian Romanick | |
2010-03-23 | Add is_error and is_void type queries | Ian Romanick | |
2010-03-23 | Set the type of a function call to be the return type of the callee | Ian Romanick | |
2010-03-23 | Set, and require, a return type for function signatures | Ian Romanick | |
2010-03-23 | Add `void' type to table of available types | Ian Romanick | |
This will make void-01.glsl test fail, so I may regret this later. However, this will make supporting functions that return void or functions that have a void parameter list easier to handle. | |||
2010-03-23 | Rename test GLSL sources from .txt to .glsl | Ian Romanick | |
2010-03-23 | Add test for declaring variables of type void. | 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 | Implement IR return instructions | Ian Romanick | |
2010-03-19 | Use glsl_symbol_table::name_declared_this_scope | Ian Romanick | |
Prevent most illegal name reuse. |