nir: Add a shallow clone function for nir_alu_instr
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 29 May 2019 23:48:17 +0000 (16:48 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 31 May 2019 15:47:03 +0000 (08:47 -0700)
commit336eab063009ebc96c3625ef1b7cffb2501448ce
tree203991fdcbb7247cede4801e3d0cb83f0d5048e9
parent0e1c5cc78fe24fb9620cac7bdcf7e927ab042ff8
nir: Add a shallow clone function for nir_alu_instr

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Suggested-by: Jason Ekstrand <jason@jlekstrand.net>
Suggested-by: Matt Turner <mattst88@gmail.com>
src/compiler/nir/nir.h
src/compiler/nir/nir_clone.c