OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 16 Dec 2016 13:01:00 +0000 (13:01 +0000)
commitc682fdb77c1499fa424b943be1d242a499677144
treec2bb13f3d8a8949469ddc7d5e162cb2e1867b656
parent12618c1c90b8b2c59a523515eb2e4e55e7c8d17b
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>
(cherry picked from commit a5502a721fd30fde4f5dc71421494329052f805b)
src/compiler/nir/nir_opt_undef.c