nir: Add a nir_deref_foreach_leaf helper
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 15 Jul 2016 22:21:19 +0000 (15:21 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Jul 2016 22:29:55 +0000 (15:29 -0700)
commitdc9f2436c39d6539b56c9aedceefdc79566e5db8
treef1dc695e7c9572489097bb91d18a04f76bbdb7b3
parent106946153fb237e0867d65d53fb3a8461f3a13ee
nir: Add a nir_deref_foreach_leaf helper

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
src/compiler/nir/nir.c
src/compiler/nir/nir.h