summaryrefslogtreecommitdiff
path: root/ir_reader.cpp
AgeCommit message (Collapse)Author
2010-04-28ir_reader: Slightly better error message when failing to read swizzles.Kenneth Graunke
2010-04-28ir_reader: Don't print out the S-Expression.Kenneth Graunke
It's no longer useful for debugging.
2010-04-28ir_reader: Read function calls.Kenneth Graunke
2010-04-28ir_reader: Replace function prototypes with the definition.Kenneth Graunke
Previously, we just created a new one, which was wrong.
2010-04-28ir_reader: Fix incorrect error message for expressions.Kenneth Graunke
2010-04-28Make ir_read_error print out the given S-Expression, for context.Kenneth Graunke
2010-04-28ir_reader: Fix for swizzles.Kenneth Graunke
2010-04-28ir_reader: Preliminary work toward reading functions.Kenneth Graunke
2010-04-28ir_reader: Perform a preliminary pass to scan for function prototypes.Kenneth Graunke
2010-04-28ir_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-28Make ir_read_error set state->error.Kenneth Graunke
2010-04-28ir_reader: Add support for "break" and "continue" in loops.Kenneth Graunke
Includes threading the ir_loop * context through various functions.
2010-04-28ir_reader: Add initial loop support; doesn't yet support break/continue.Kenneth Graunke
2010-04-28ir_reader: Add support for reading (var_ref ...) and (array_ref ...)Kenneth Graunke
2010-04-28ir_reader: rvalues are instructions too!Kenneth Graunke
2010-04-28ir_reader: Add support for reading conditionals: (if ...)Kenneth Graunke
2010-04-28ir_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-28ir_reader: Add support for reading (return ...)Kenneth Graunke
2010-04-28ir_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-28Partial IR reader.Kenneth Graunke
Currently reads assignments, constants, expressions, and swizzles.
2010-04-28Add stub ir_reader and new 'i' mode for reading IR rather than GLSL.Kenneth Graunke