nir: Add a function for rewriting instruction destinations
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 Sep 2015 22:58:25 +0000 (15:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 Sep 2015 16:21:20 +0000 (09:21 -0700)
commitcee29220e312f7c76a07343e501fa6a1c5f3d1aa
treeb0dc2a6285a7fe0556e42c9d7e7ffe08421d53d2
parent106a3b2cc33c53ab16ffedc51248b04dd995dc17
nir: Add a function for rewriting instruction destinations

Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/glsl/nir/nir.c
src/glsl/nir/nir.h