summaryrefslogtreecommitdiff
path: root/hir_field_selection.cpp
AgeCommit message (Collapse)Author
2010-05-26Begin refactoring ir_dereferenceIan 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-04-28Convert structure field dereferences to HIRIan Romanick
2010-03-26Use glsl_type::is_error instead of comparison with glsl_error_type pointerIan Romanick
2010-03-26Move swizzles out of ir_dereference and into their own class.Kenneth Graunke
Also turn generate_swizzle into a static "create" method of the new class; we'll want to use it for the IR reader as well. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-26Add new abstract ir_rvalue class; rework accordingly.Kenneth Graunke
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-24Use glsl_type::get_instance instead of _mesa_glsl_get_vector_typeIan Romanick
2010-03-24Fix typo in swizzle processing loopIan Romanick
One of the accesses to str in the loop used str[0] instead of str[i]. Reported-by: Kenneth Graunke
2010-03-24Trivial cleanups in generate_swizzleIan Romanick
Add 'const' and 'static const' in a couple of places.
2010-03-24Use ir_dereference::set_swizzleIan Romanick
2010-03-09Convert is_glsl_type_vector to glsl_type::is_vectorIan Romanick
2010-03-08Conver IR structures to use exec_list instead of simple_nodeIan Romanick
2010-03-01Make AST->HIR conversion a method of ast_node, re-enableIan Romanick
2010-02-25Convert to new interfaces so that it will compileIan Romanick
Convert TRUE and FALSE to true and false. Convert _mesa_ast_get_location to ast_node::get_location.
2010-02-22Rename .cc files to .cppIan Romanick