Re: [Mesa-dev] [PATCH 3/6] glsl: Remove ir_print_visitor.h includes and usage

2013-06-18 Thread Kenneth Graunke
On 06/17/2013 04:10 PM, Eric Anholt wrote: We have ir->print() to do the old declaration of a visitor and having the IR accept the visitor (yuck!). And now you can call _mesa_print_ir() safely anywhere that you know what an ir_instruction is. A couple of missing printf("\n")s are added in error

[Mesa-dev] [PATCH 3/6] glsl: Remove ir_print_visitor.h includes and usage

2013-06-17 Thread Eric Anholt
We have ir->print() to do the old declaration of a visitor and having the IR accept the visitor (yuck!). And now you can call _mesa_print_ir() safely anywhere that you know what an ir_instruction is. A couple of missing printf("\n")s are added in error paths -- when an expression is handed to the