nir: fix lower_{int,bool}_to_float for new mov opcode
authorJonathan Marek <jonathan@marek.ca>
Fri, 31 May 2019 20:04:10 +0000 (16:04 -0400)
committerJonathan Marek <jonathan@marek.ca>
Fri, 31 May 2019 21:35:26 +0000 (21:35 +0000)
commitf6579ee2043094dc36a0627e4e66c82e78aaf73b
tree29745fe294a298e6668975be4cd6a820cce364a4
parentf889180ee101c2fecd573dd364d91883ccdd30df
nir: fix lower_{int,bool}_to_float for new mov opcode

It is treated like the vecN instructions which also have no type.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_lower_bool_to_float.c
src/compiler/nir/nir_lower_int_to_float.c