nir/validator: Validate that all used variables exist
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 20 Mar 2018 23:57:51 +0000 (16:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 31 Mar 2018 00:20:27 +0000 (17:20 -0700)
commit9978f55cd1d28ccc5014ac56cafdd997eac5f222
treee25b0a08cf8b3e17c70ab41dbc1b6d5324ce0dd4
parent2b977989f3f01c186677988494bbf9b7342b31f2
nir/validator: Validate that all used variables exist

We were validating this for locals but nothing else.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir_validate.c