nir/inline: Make the rewrite_param_derefs helper work on instructions
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 25 May 2016 17:36:23 +0000 (10:36 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 27 May 2016 17:28:27 +0000 (10:28 -0700)
commitd19c406395925778d71584ba5730ade59dcea977
tree89b7b01d65732a653db7fa2577686f2e1bb092a1
parent2fcba404f80c4c83a76dfef03d7cf427ed17415b
nir/inline: Make the rewrite_param_derefs helper work on instructions

Now that we have the better nir_foreach_block macro, there's no reason to
use the archaic block version for everything.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_inline_functions.c