summaryrefslogtreecommitdiff
path: root/ast_to_hir.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-06-23Fix double usage of the post-inc/dec's temporary pre-inc/dec copy.linkerEric Anholt1-5/+4
2010-06-23Avoid using the RHS of an assignment twice.Eric Anholt1-3/+19
2010-06-23get_lvalue_copy doesn't need all the checking of do_assignment().Eric Anholt1-6/+3
2010-06-23ast_to_hir: Clone LHS derefs of assignment expressions.Eric Anholt1-5/+10
2010-06-23Add a virtual clone() method to ir_instruction.Eric Anholt1-3/+2
2010-06-22Include stdio.h and stdlib.h everywhere, and don't cook our own #define NULL.Eric Anholt1-1/+1
2010-06-18Ensure that shader_in and shader_out are correctly set in declarationsIan Romanick1-3/+19
2010-06-17Allow initializers for uniformsIan Romanick1-5/+11
2010-06-11Use statically typed ir_constant constructors wherever possibleIan Romanick1-4/+4
2010-06-11Treat ?: with all constant subexpressions as a constant expressionIan Romanick1-15/+25
2010-06-11Rearrange code in HIR conversion of ?: operatorIan Romanick1-18/+24
2010-06-01Allow arrays of floats as varyings.Eric Anholt1-4/+13
2010-06-01Handle GLSL 1.20 implicit type conversions.Eric Anholt1-9/+20
2010-05-26Fix setting the maximum accessed array elementIan Romanick1-2/+8
2010-05-26Refactor ir_dereference data fields to subclassesIan Romanick1-1/+1
2010-05-26Begin refactoring ir_dereferenceIan Romanick1-23/+14
2010-05-10Replace many uses of foreach_list with foreach_list_typedIan Romanick1-24/+11
2010-05-10Convert ast_node use of simple_node to exec_list and exec_nodeIan Romanick1-34/+29
2010-05-10Loop bodies, then-statements, and else-statements are not listsIan Romanick1-21/+6
2010-04-28Track and print user defined structure typesstructIan Romanick1-0/+10
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-28Always return a value from ast_type_specifier::hirIan Romanick1-0/+2
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-28Begin converting structure definitions to IRIan Romanick1-1/+81
2010-04-28Factor out parameter list replacement for later reuse.Kenneth Graunke1-12/+1
2010-04-28Factor out parameter list matching from ast_function::hir for later reuse.Kenneth Graunke1-62/+17
2010-04-28Factor out qualifier checking code for later reuse.Kenneth Graunke1-21/+7
2010-04-21Refactor IR function representation.Kenneth Graunke1-16/+6
2010-04-21Use ir_function_signature::function_name() rather than direct access.Kenneth Graunke1-2/+2
2010-04-21Ensure that both parameter lists are the same length in function overloading.Kenneth Graunke1-8/+7
2010-04-19Mark some variables as having usage beyond the shader's scope.Eric Anholt1-0/+9
2010-04-16While-loops also start a new scope.Ian Romanick1-3/+3
2010-04-16Avoid generating ir_if for &&, || short-circuiting with constant LHS.Eric Anholt1-42/+83
2010-04-16Make && and || only evaluate the RHS when the LHS requires it.Eric Anholt1-4/+71
2010-04-14Check that the return type of function definition matches its prototype.Eric Anholt1-1/+8
2010-04-14Check that function definition parameter qualifiers match proto qualifiers.Eric Anholt1-0/+23
2010-04-14Return the rvalue of a variable decl to fix while (bool b = condition) {}Eric Anholt1-5/+13
2010-04-07Make function bodies rely on the parameter variable declarations.Eric Anholt1-6/+2
2010-04-07Put function bodies under function signatures, instead of flat in the parent.Eric Anholt1-4/+4
2010-04-07Use _mesa_glsl_shader_target_nameIan Romanick1-4/+4
2010-04-07Generate correct IR for do-while loopsir_loopIan Romanick1-20/+31
2010-04-07Process ast_jump_statement into ir_loop_jumpIan Romanick1-0/+26
2010-04-07Begin tracking the nesting of loops and switch-statementsIan Romanick1-0/+10
2010-04-07Use switch based on mode in ast_jump_statement::hirIan Romanick1-2/+9
2010-04-07Process ast_iteration_statement into ir_loopIan Romanick1-0/+63
2010-04-06Handle constant expressions using derefs of const values.Eric Anholt1-2/+5
2010-04-05Set lower bound on size implied by whole-array assignmentIan Romanick1-0/+7
2010-04-05Allow dereference of vectors and matrices with []Ian Romanick1-15/+40