summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-11-02 15:59:58 -0700
committerJason Ekstrand <[email protected]>2017-11-07 10:41:24 -0800
commitd002950e5491f971cbaa77ac80a698e5d746295a (patch)
treea98169a898d45dd1a6f871c3a24d75eabfd3e0a8
parentdee58ecd2e3b23d1a3d2cdffb99d3dd314421b39 (diff)
intel/fs/nir: Return Q types from brw_reg_type_for_bit_size
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
-rw-r--r--src/intel/compiler/brw_fs_nir.cpp4
1 files 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");
}