From d002950e5491f971cbaa77ac80a698e5d746295a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 2 Nov 2017 15:59:58 -0700 Subject: [PATCH] intel/fs/nir: Return Q types from brw_reg_type_for_bit_size MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Samuel Iglesias Gonsálvez --- src/intel/compiler/brw_fs_nir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.30.2