Revert "nir: Turn imov/fmov of undef into undef."
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 15 Dec 2016 05:51:13 +0000 (16:51 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 15 Dec 2016 06:05:12 +0000 (17:05 +1100)
commita5502a721fd30fde4f5dc71421494329052f805b
tree047c0c23a79eb53a6170857989abecd6fb9f2cc6
parent84e19322d3a24f7d90bdea09298f1ad55c5e0f04
Revert "nir: Turn imov/fmov of undef into undef."

This reverts commit 6aa730000fea84a14b49828a4bb30761d43903bf.

This was changing the size of the undef to always be 1 (the number of inputs
to imov and fmov) which is wrong, we could be moving a vec4 for example.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/compiler/nir/nir_opt_undef.c