nir: Use instr/if_rewrite in nir_ssa_def_rewrite_uses
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 12 Nov 2015 05:13:26 +0000 (21:13 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 23 Nov 2015 19:04:49 +0000 (11:04 -0800)
commit384396a69bdfec9971337863ae69266c7fa4a2e8
treeadef53e156400f07b506db556c49f8b5f334ea90
parent03c9ad900e4f1feb2a4df8dd0c563937d999ae5d
nir: Use instr/if_rewrite in nir_ssa_def_rewrite_uses

nir_ssa_def_rewrite_uses is one of the older helpers in NIR and predated
both of those.  Now it can be substantially simplified.

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