nir: avoid segfault when ssa src not found
authorTimothy Arceri <timothy.arceri@collabora.com>
Sun, 21 Aug 2016 08:31:40 +0000 (18:31 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Mon, 22 Aug 2016 23:06:29 +0000 (09:06 +1000)
commit8ee909ee4261bc2d4396851c44219f07041cd85c
tree725a7910b759527b76cd8f18d04e78316147f818
parent47e3cc7557144ea62cab65c86f0241ec53784d71
nir: avoid segfault when ssa src not found

Without this the following line will segfault and we don't get to
see the results of the validate_assert() above.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/compiler/nir/nir_validate.c