summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2010-04-30Use ir_instruction::visit_children to simplify some visitorstextureIan Romanick3-60/+9
2010-04-30Replace find_dead_code with visit_exec_listIan Romanick1-15/+5
2010-04-30Add ir_instruction::visit_childrenIan Romanick2-3/+128
2010-04-30Add visitor support for ir_texture instructionsIan Romanick13-0/+273
2010-04-30Define IR instruction for texture look-upsIan Romanick1-0/+77
2010-04-29ir_dead_code: Fix segfault on handling a return statement with no value.Eric Anholt1-1/+4
2010-04-28Track and print user defined structure typesstructIan Romanick3-1/+35
2010-04-28IR print visitor: Move logic for printing the whole program to _mesa_print_irIan Romanick3-8/+20
2010-04-28IR print visitor: Just print the name of structuresIan Romanick1-4/+0
2010-04-28ir_function_inlining: Handle inlining of structure dereferences.Eric Anholt1-2/+1
2010-04-28Correctly handle remapping of array dereferences if ->var is a variable.Eric Anholt1-20/+11
2010-04-28Begin handling some varieties of invalid declarationsIan Romanick1-1/+17
2010-04-28Reject conflicting struct declarations, generate struct constructorIan Romanick1-1/+14
2010-04-28glsl_type::generate_constructor_prototype now generates the function tooIan Romanick3-6/+35
2010-04-28Always return a value from ast_type_specifier::hirIan Romanick1-0/+2
2010-04-28Support structures in glsl_type::generate_constructor_prototypeIan Romanick1-4/+3
2010-04-28Implement structures and arrays in ir_dereference::is_lvalueIan Romanick1-7/+6
2010-04-28Ensure that structure fields have non-NULL typesIan Romanick1-1/+2
2010-04-28Ensure that anonymous structures have non-NULL namesIan Romanick1-2/+15
2010-04-28Convert structure field dereferences to HIRIan Romanick1-1/+7
2010-04-28Add ir_dereference constructor for structure field dereferencesIan Romanick2-0/+10
2010-04-28Add glsl_type::field_typeIan Romanick2-0/+26
2010-04-28Begin converting structure definitions to IRIan Romanick2-1/+86
2010-04-28Use IDENTIFIER instead of TYPE_NAME for structure namesIan Romanick1-2/+2
2010-04-28ir_reader: Slightly better error message when failing to read swizzles.Kenneth Graunke1-2/+6
2010-04-28ir_reader: Don't print out the S-Expression.Kenneth Graunke1-3/+0
2010-04-28ir_reader: Read function calls.Kenneth Graunke1-1/+46
2010-04-28ir_reader: Replace function prototypes with the definition.Kenneth Graunke1-23/+41
2010-04-28ir_reader: Fix incorrect error message for expressions.Kenneth Graunke1-3/+3
2010-04-28Make ir_read_error print out the given S-Expression, for context.Kenneth Graunke1-14/+17
2010-04-28ir_reader: Fix for swizzles.Kenneth Graunke1-3/+3
2010-04-28ir_reader: Preliminary work toward reading functions.Kenneth Graunke1-25/+36
2010-04-28ir_reader: Perform a preliminary pass to scan for function prototypes.Kenneth Graunke1-0/+126
2010-04-28ir_reader: Don't initialize globals, builtins, or constructors.Kenneth Graunke1-3/+5
2010-04-28Make ir_read_error set state->error.Kenneth Graunke1-58/+62
2010-04-28ir_reader: Add support for "break" and "continue" in loops.Kenneth Graunke1-12/+21
2010-04-28ir_reader: Add initial loop support; doesn't yet support break/continue.Kenneth Graunke1-0/+30
2010-04-28ir_reader: Add support for reading (var_ref ...) and (array_ref ...)Kenneth Graunke1-6/+79
2010-04-28ir_reader: rvalues are instructions too!Kenneth Graunke1-6/+8
2010-04-28ir_reader: Add support for reading conditionals: (if ...)Kenneth Graunke1-18/+62
2010-04-28ir_reader: Add support for reading array types.Kenneth Graunke1-10/+34
2010-04-28ir_reader: Add support for reading (return ...)Kenneth Graunke1-0/+23
2010-04-28ir_reader: Add support for reading variable declarations.Kenneth Graunke1-5/+114
2010-04-28Partial IR reader.Kenneth Graunke1-4/+314
2010-04-28Set language_version to 130 (the max currently supported) when reading IR.Kenneth Graunke1-0/+5
2010-04-28Add stub ir_reader and new 'i' mode for reading IR rather than GLSL.Kenneth Graunke5-11/+101
2010-04-28Add a simple S-Expression reader and printer.Kenneth Graunke3-1/+296
2010-04-28Use "neg" when printing/reading unary negation rather than "-".Kenneth Graunke1-1/+1
2010-04-28Move array of operator strings out of ir_print_visitor.cpp.Kenneth Graunke3-53/+77
2010-04-28Factor out parameter list replacement for later reuse.Kenneth Graunke3-12/+26