nir/propagate_invariant: Don't add NULL vars to the hash table
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 5 Jun 2019 21:54:40 +0000 (16:54 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 6 Jun 2019 00:27:53 +0000 (00:27 +0000)
commitd96878a66a559f6690f01e82f06fcf92ae958d3c
tree879ad42841516b70fbec544dcad30c51c6566c10
parent1c30d26d89c52b253062522d4ea488c22a83a7ab
nir/propagate_invariant: Don't add NULL vars to the hash table

Fixes: 8410cf66d "nir/propagate_invariant: Skip unknown vars"
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_propagate_invariant.c