Re: [Mesa-dev] [PATCH 3/5] Add a constant_referenced method to ir_dereference*

2012-04-30 Thread Eric Anholt
On Fri, 27 Apr 2012 10:28:02 +0200, Olivier Galibert wrote: > The method is used to get a reference to an ir_constant * within the > context of evaluating an assignment when calculating a > constant_expression_value. I think this code should live in the file for constant expression handling. You

[Mesa-dev] [PATCH 3/5] Add a constant_referenced method to ir_dereference*

2012-04-27 Thread Olivier Galibert
The method is used to get a reference to an ir_constant * within the context of evaluating an assignment when calculating a constant_expression_value. Signed-off-by: Olivier Galibert --- src/glsl/ir.cpp | 91 +++ src/glsl/ir.h | 36 ++