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)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 20 Jun 2016 19:02:55 +0000 (12:02 -0700)
commitbec07b729242f6a2dcf5a12ce75bf8b07ea658e0
treecfcabe3b44458974809f0088357f8b02b3396f9c
parent202751fbb7e3d35c1aa84f325f862245dab67f6c
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>
src/compiler/nir/nir_lower_alu_to_scalar.c