nir/lower_vec_to_movs: Handle partially SSA shaders
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 9 Sep 2015 20:42:14 +0000 (13:42 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 15 Sep 2015 18:13:45 +0000 (11:13 -0700)
commitc3f8cde964f9850c86469a06d5eedf4e783cbf5c
treec3150497f46771f5fcc8e90c54b56247e89b9ed4
parentb7eeced3c724bf5de05290551ced8621ce2c7c52
nir/lower_vec_to_movs: Handle partially SSA shaders

v2 (Jason Ekstrand):
 - Use nir_instr_rewrite_dest
 - Pass the impl directly into lower_vec_to_movs_block

Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/glsl/nir/nir_lower_vec_to_movs.c