nir: Add a src_get_parent_instr function
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Apr 2015 18:07:48 +0000 (11:07 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 3 Apr 2015 21:04:12 +0000 (14:04 -0700)
commit7bdba4a24583f4cc2f9bca94f975cec9d384cddc
treea5863f743e6c466fd1c1e421b01388544074ae4c
parentcb966fb2bea77b1d7b1bdb6597b7b85d810f2d0a
nir: Add a src_get_parent_instr function

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/nir/nir.h
src/mesa/drivers/dri/i965/brw_nir_analyze_boolean_resolves.c