glsl: Constify ir_instruction::equals
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 19 Mar 2015 02:00:48 +0000 (19:00 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 25 Mar 2015 17:41:08 +0000 (10:41 -0700)
commit60757802471ba5a13e31cac7786eed3f369b6927
treec1d162cab0780070b875daa06357ab62898e6ed6
parentdec9664e35a35b447f21ea15631ae5a5404e9624
glsl: Constify ir_instruction::equals

v2: Don't be lazy.  Constify the as_foo functions and use those instead
of ugly casts.  Suggested by Curro.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/glsl/ir.h
src/glsl/ir_equals.cpp