nir: move tex_instr_remove_src
authorRob Clark <robdclark@gmail.com>
Thu, 8 Sep 2016 18:07:06 +0000 (14:07 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 14 Sep 2016 17:45:32 +0000 (13:45 -0400)
commit1a8424cebaeaf46a01000624a46764f3e84dad85
treefe7d57ce69ee32fd14163128db63e524409ef9c1
parent2c3f9662762f6e45b47ea5d3047f5596b555f29c
nir: move tex_instr_remove_src

I want to re-use this in a different pass, so move to nir.h

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_tex.c