i965/fs: Return a fs_reg from shuffle_64bit_data_for_32bit_write
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 26 Aug 2017 17:00:14 +0000 (10:00 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
commit030d2b5016360caf44ebfa3f6951a6d676316a89
tree8465290524227ba73bec75dda0c467fb40bbd126
parent6197a6b7ac6ff03e87a939311329fa0cb4af7f4c
i965/fs: Return a fs_reg from shuffle_64bit_data_for_32bit_write

All callers of this function allocate a fs_reg expressly to pass into
it.  It's much easier if we just let the helper allocate the register.
While we're here, we switch it to doing the MOVs with an integer type so
that we don't accidentally canonicalize floats on half of a double.

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