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>
This commit is contained in:
@@ -493,10 +493,9 @@ void shuffle_32bit_load_result_to_64bit_data(const brw::fs_builder &bld,
|
||||
const fs_reg &src,
|
||||
uint32_t components);
|
||||
|
||||
void shuffle_64bit_data_for_32bit_write(const brw::fs_builder &bld,
|
||||
const fs_reg &dst,
|
||||
const fs_reg &src,
|
||||
uint32_t components);
|
||||
fs_reg shuffle_64bit_data_for_32bit_write(const brw::fs_builder &bld,
|
||||
const fs_reg &src,
|
||||
uint32_t components);
|
||||
fs_reg setup_imm_df(const brw::fs_builder &bld,
|
||||
double v);
|
||||
|
||||
|
Reference in New Issue
Block a user