nir: constify instruction comparison functions
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 24 Sep 2015 05:05:15 +0000 (01:05 -0400)
committerConnor Abbott <cwabbott0@gmail.com>
Fri, 9 Oct 2015 14:14:28 +0000 (10:14 -0400)
commit005c2efb7b755ac5887dc5938baa7d95a50fe853
tree85878f9b9aa29e05b8637e3587b3f9ac77b49020
parentd6bc35934f3d1150a1da0edfb0746cd0ae8bd63b
nir: constify instruction comparison functions

v2: rebase, don't constify nir_srcs_equal() as it's pass-by-value
anyways

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_instr_set.c
src/glsl/nir/nir_instr_set.h