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 <mesa-stable>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15039>
This commit is contained in:
Iván Briano 2022-02-15 14:33:28 -08:00 committed by Marge Bot
parent 11544435ad
commit 81f97905c3
1 changed files with 1 additions and 1 deletions

View File

@ -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: