i965/fs: Fix the inline nir_op_pack_double optimization
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Feb 2017 07:00:51 +0000 (23:00 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Feb 2017 01:28:03 +0000 (17:28 -0800)
commita4393bd97fe62e8299273bae769201c5c9c816ea
treee4bf9122796748ca7996861848cfa472e69db094
parente2abe80beedea9e20326989f8577b43868cda21a
i965/fs: Fix the inline nir_op_pack_double optimization

We can only do the optimization if the source *is* SSA.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp