glsl: Add parameter to .equals() to ignore an IR type.
authorMatt Turner <mattst88@gmail.com>
Thu, 2 Jan 2014 00:52:32 +0000 (16:52 -0800)
committerMatt Turner <mattst88@gmail.com>
Tue, 21 Jan 2014 22:20:44 +0000 (14:20 -0800)
commit5e82d8a9da9eeab33e2819c2d90f1419e42cb33d
tree4fe87b444e78fe9a988df55710454ae2e07b8e4a
parentebf91993c18bdf90c4699b42e58cb84d0b160f25
glsl: Add parameter to .equals() to ignore an IR type.

Only implemented for ir_swizzles currently, but perhaps will be useful
for other IR types in the future.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir.h
src/glsl/ir_equals.cpp