glsl: Move the CSE equality functions to the ir class.
authorEric Anholt <eric@anholt.net>
Thu, 31 Oct 2013 06:56:18 +0000 (23:56 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 15 Nov 2013 19:33:07 +0000 (11:33 -0800)
commit8957c6b887ff09f44e7b491e7a0551e94a265b8d
tree2301a0352283077ecc0dbd87251d4f7eb4fdfbb6
parentfc51e7ac58d7aeab0b455e9d39b6547c2b954494
glsl: Move the CSE equality functions to the ir class.

I want to reuse them in opt_algebraic.

v2: Merge in Chris Forbes's break fix.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/Makefile.sources
src/glsl/ir.h
src/glsl/ir_equals.cpp [new file with mode: 0644]
src/glsl/opt_cse.cpp