nir/lower_vec_to_movs: Properly handle source modifiers on vecN ops
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Sep 2015 04:11:23 +0000 (21:11 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Sep 2015 17:12:39 +0000 (10:12 -0700)
commit65e80ce5b565953ffb07586790eeea51199ca9cf
treebfc313f99fe917131eed6da5e28b8ccb3c6fcb5e
parentaae0c88797e7e44c55873b3e97cceed5c6e6cded
nir/lower_vec_to_movs: Properly handle source modifiers on vecN ops

I don't know of any piglit tests that are currently broken.  However, there
is nothing stopping a vecN instruction from getting source modifiers and
lower_vec_to_movs is run after we lower to source modifiers.

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