From 81f97905c3be29bbe81104ef149b4ee14c015f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Tue, 15 Feb 2022 14:33:28 -0800 Subject: [PATCH] intel/compiler: make CLUSTER_BROADCAST always deal with integers This way we don't run afoul of regioning restrictions around floating point types. Cc: 22.0 Reviewed-by: Jason Ekstrand Part-of: --- src/intel/compiler/brw_fs_lower_regioning.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_fs_lower_regioning.cpp b/src/intel/compiler/brw_fs_lower_regioning.cpp index 0ddd47c4b1c..e1fe9eaff7b 100644 --- a/src/intel/compiler/brw_fs_lower_regioning.cpp +++ b/src/intel/compiler/brw_fs_lower_regioning.cpp @@ -180,7 +180,7 @@ namespace { intel_device_info_is_9lp(devinfo)) && type_sz(t) > 4) return BRW_REGISTER_TYPE_UD; else - return t; + return brw_int_type(type_sz(t), false); case SHADER_OPCODE_BROADCAST: case SHADER_OPCODE_MOV_INDIRECT: