nir: Only unlink sources that are actually valid
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 Sep 2015 22:58:08 +0000 (15:58 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 11 Sep 2015 16:21:20 +0000 (09:21 -0700)
commit106a3b2cc33c53ab16ffedc51248b04dd995dc17
tree1ded29c270f7bd8d7cfda128031d33da4f46fd81
parenta4aa25be1e0a27b1a6a6b0bcf576beb9dfe1ea7a
nir: Only unlink sources that are actually valid

Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
src/glsl/nir/nir.c