nir: Add a pass to rewrite uses of vecN sources to the vecN destination
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Sep 2015 22:18:01 +0000 (15:18 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 17 Sep 2015 15:19:48 +0000 (08:19 -0700)
commita6c467d6c574baf6636814b51f1dafe2557e22f6
tree75e43b9a5794cea129636092620725f299af3e9e
parentddffe30f404b7dffef2b90879023433ecc7df3e3
nir: Add a pass to rewrite uses of vecN sources to the vecN destination

v2 (Jason Ekstrand):
 - Handle non-SSA sources and destinations

Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/glsl/Makefile.sources
src/glsl/nir/nir.h
src/glsl/nir/nir_move_vec_src_uses_to_dest.c [new file with mode: 0644]