Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-26 | ir_reader: Read record_refs. | Kenneth Graunke | |
Also changes the print visitor to not emit extraneous parenthesis. | |||
2010-05-26 | ir_reader: Fix reading of array deferences and correct error messages. | Kenneth Graunke | |
Previously, the syntax was (array_ref <variable name> <index>), but the subject is now a general rvalue (not a name). In particular, it might be a (var_ref ...). Also, remove "expected ... or (swiz)" from error messages; swiz is not allowed inside a var_ref. | |||
2010-05-26 | Begin refactoring ir_dereference | Ian Romanick | |
Create separate subclasses of ir_dereference for variable, array, and record dereferences. As a side effect, array and record dereferences no longer point to ir_variable objects directly. Instead they each point to an ir_dereference_variable object. This is the first of several steps in the refactoring process. The intention is that ir_dereference will eventually become an abstract base class. | |||
2010-05-14 | ir_reader: Set function signatures as defined. | Kenneth Graunke | |
2010-04-28 | ir_reader: Slightly better error message when failing to read swizzles. | Kenneth Graunke | |
2010-04-28 | ir_reader: Don't print out the S-Expression. | Kenneth Graunke | |
It's no longer useful for debugging. | |||
2010-04-28 | ir_reader: Read function calls. | Kenneth Graunke | |
2010-04-28 | ir_reader: Replace function prototypes with the definition. | Kenneth Graunke | |
Previously, we just created a new one, which was wrong. | |||
2010-04-28 | ir_reader: Fix incorrect error message for expressions. | Kenneth Graunke | |
2010-04-28 | Make ir_read_error print out the given S-Expression, for context. | Kenneth Graunke | |
2010-04-28 | ir_reader: Fix for swizzles. | Kenneth Graunke | |
2010-04-28 | ir_reader: Preliminary work toward reading functions. | Kenneth Graunke | |
2010-04-28 | ir_reader: Perform a preliminary pass to scan for function prototypes. | Kenneth Graunke | |
2010-04-28 | ir_reader: Don't initialize globals, builtins, or constructors. | Kenneth Graunke | |
All of these are currently emitted as part of the IR, so by initializing them, we actually end up with two copies. For constructors, we may eventually wish to avoid emitting them as part of the IR output. | |||
2010-04-28 | Make ir_read_error set state->error. | Kenneth Graunke | |
2010-04-28 | ir_reader: Add support for "break" and "continue" in loops. | Kenneth Graunke | |
Includes threading the ir_loop * context through various functions. | |||
2010-04-28 | ir_reader: Add initial loop support; doesn't yet support break/continue. | Kenneth Graunke | |
2010-04-28 | ir_reader: Add support for reading (var_ref ...) and (array_ref ...) | Kenneth Graunke | |
2010-04-28 | ir_reader: rvalues are instructions too! | Kenneth Graunke | |
2010-04-28 | ir_reader: Add support for reading conditionals: (if ...) | Kenneth Graunke | |
2010-04-28 | ir_reader: Add support for reading array types. | Kenneth Graunke | |
Also, constify glsl_type pointers; this was necessary to use glsl_type::get_array_instance. | |||
2010-04-28 | ir_reader: Add support for reading (return ...) | Kenneth Graunke | |
2010-04-28 | ir_reader: Add support for reading variable declarations. | Kenneth Graunke | |
It also now reads a list of instructions, as it should, rather than a single rvalue. | |||
2010-04-28 | Partial IR reader. | Kenneth Graunke | |
Currently reads assignments, constants, expressions, and swizzles. | |||
2010-04-28 | Add stub ir_reader and new 'i' mode for reading IR rather than GLSL. | Kenneth Graunke | |