nir/validate: Don't allow derefs in if conditions
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 4 Jan 2019 17:11:49 +0000 (11:11 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 8 Jan 2019 00:38:30 +0000 (00:38 +0000)
commit427558a7178c704fd3102dc941d76316d9ca49e9
tree3232b81bc766fd6828d87e446532b7ec15f8f4e4
parente94a027af8953ba22f4daa3009ab71479b35c78f
nir/validate: Don't allow derefs in if conditions

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir_validate.c