OSDN Git Service

nir/alu_to_scalar: Respect the exact ALU operation qualifier
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 13 Jun 2016 21:41:05 +0000 (14:41 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 21 Jun 2016 10:41:49 +0000 (11:41 +0100)
commit77f241bd37e7d0a76a0ac9223bc4cebba322994c
tree08f75dc2c50f3e454f0d6d00dbe20a103e742f58
parentdeedb368de7dc50f7196af440c338dcf6a361564
nir/alu_to_scalar: Respect the exact ALU operation qualifier

Just setting builder->exact isn't sufficient because that only applies to
instructions that are built with the builder but instructions created
manually and only inserted using the builder are left alone.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit bec07b729242f6a2dcf5a12ce75bf8b07ea658e0)
src/compiler/nir/nir_lower_alu_to_scalar.c