The goal of this series is to get constant_referenced out of the public interface of the ir_dereference class hierarchy. It has always seemed odd to me that an interface that's specific to ir_constant_expression is generally exposed.
In addition, having it live in that class hierarchy makes some other IR work I'm doing (that may yet prove to be fruitless) more difficult. src/glsl/ir.h | 36 ------------ src/glsl/ir_clone.cpp | 10 ++-- src/glsl/ir_constant_expression.cpp | 205 +++++++++++++++++++++++++++++++++++---------------------------------- 3 files changed, 110 insertions(+), 141 deletions(-) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev