intel/fs: Allow UB, B, and HF types in brw_nir_reduction_op_identity
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 27 Apr 2019 09:31:31 +0000 (04:31 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 20 Sep 2019 18:02:15 +0000 (18:02 +0000)
commit3515c0e9cfce67af442a3de4dbe9bb7f487aaeb5
tree5fa8cc7a2d1ff85363498cbd16f71a5b67f05c01
parent10532c68318b9edda58d5a3fa824079799b62555
intel/fs: Allow UB, B, and HF types in brw_nir_reduction_op_identity

Because byte immediates aren't a thing on GEN hardware, we return a
signed or unsigned word immediate in the byte case.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
src/intel/compiler/brw_fs_nir.cpp