summaryrefslogtreecommitdiff
path: root/ast_function.cpp
AgeCommit message (Collapse)Author
2010-04-07Clarify the types of various exec_list in ir.hEric Anholt
2010-04-02Use glsl_type::element_type to get the type of array elementsIan Romanick
2010-04-02Ensure that 'in' and 'inout' formal parameters are valid lvaluesIan Romanick
This causes the following tests to pass: glslparsertest/shaders/function10.frag
2010-04-02Add bool/int conversion as IR operations.Eric Anholt
Fixes constructor-09.glsl and CorrectParse2.frag.
2010-04-02Add conversion of bool to float as an IR operation to match int to float.Eric Anholt
2010-03-31Generate array constructor callsIan Romanick
2010-03-31Refactor parts of match_function_by_name into process_parameters and ↵Ian Romanick
process_call These will be used in the functions that implement calls to array constructors.
2010-03-31Reject array constructor calls in GLSL 1.10Ian Romanick
2010-03-31Use ast_type_specifier::glsl_type to get the type of a constructorIan Romanick
This is the first baby step towards getting array constructors working.
2010-03-29Allow single-component constructorsIan Romanick
This causes the following tests to pass: glslparsertest/shaders/CorrectVersion.V110.frag shaders/glsl-vs-sqrt-zero.frag shaders/glsl-vs-sqrt-zero.vert This causes the following tests to fail. These shaders were previously failing to compile, but they were all failing for the wrong reasons. glslparsertest/shaders/attribute1.vert glslparsertest/shaders/attribute2.vert glslparsertest/shaders/main2.vert
2010-03-26Initial implementation of constructor handling codeIan Romanick
All of the scalar, vector, and matrix constructors *except* "from bool" constructors should be handled. Array and structure constructors are also not yet handled.
2010-03-26Add new abstract ir_rvalue class; rework accordingly.Kenneth Graunke
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-23Begin processing constructorsIan Romanick
Right now, reject constructors for samplers because the are illegal.
2010-03-19Use glsl_symbol_table instead of using _mesa_symbol_table directlyIan Romanick
2010-03-15Factor guts of function matching code out to match_function_by_nameIan Romanick
This function will be used for matching some types of constructors as well.
2010-03-15Move ast_function_expression::hir to ast_function.cppIan Romanick