i965/fs/nir: Simplify 64-bit store_output
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 26 Aug 2017 18:26:40 +0000 (11:26 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
commit6197a6b7ac6ff03e87a939311329fa0cb4af7f4c
treefacb0ec0916021905406326731583ce7839e7939
parent18fde36ced4279f2577097a1a7d31b55f2f5f141
i965/fs/nir: Simplify 64-bit store_output

The swizzles weren't doing any good because swiz is just XYZW.  Also, we
were emitting an extra set of MOVs because shuffle_64bit_data_for_32bit
already does a MOV for us.  Finally, the temporary was only ever used
inside the inner loop so there's no need for it to actually be an array.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/intel/compiler/brw_fs_nir.cpp