From: Jason Ekstrand Date: Thu, 2 Nov 2017 22:59:58 +0000 (-0700) Subject: intel/fs/nir: Return Q types from brw_reg_type_for_bit_size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d002950e5491f971cbaa77ac80a698e5d746295a;p=mesa.git intel/fs/nir: Return Q types from brw_reg_type_for_bit_size Reviewed-by: Samuel Iglesias Gonsálvez --- diff --git a/src/intel/compiler/brw_fs_nir.cpp b/src/intel/compiler/brw_fs_nir.cpp index 342ac8170b0..15f2d886243 100644 --- a/src/intel/compiler/brw_fs_nir.cpp +++ b/src/intel/compiler/brw_fs_nir.cpp @@ -295,7 +295,7 @@ brw_reg_type_from_bit_size(const unsigned bit_size, case 32: return BRW_REGISTER_TYPE_D; case 64: - return BRW_REGISTER_TYPE_DF; + return BRW_REGISTER_TYPE_Q; default: unreachable("Invalid bit size"); } @@ -308,7 +308,7 @@ brw_reg_type_from_bit_size(const unsigned bit_size, case 32: return BRW_REGISTER_TYPE_UD; case 64: - return BRW_REGISTER_TYPE_DF; + return BRW_REGISTER_TYPE_UQ; default: unreachable("Invalid bit size"); }