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>
(cherry picked from commit 81f97905c3)
This commit is contained in:
Iván Briano 2022-02-15 14:33:28 -08:00 committed by Dylan Baker
parent fa4d9f5934
commit 1d25a226fa
2 changed files with 2 additions and 2 deletions

View file

@ -2074,7 +2074,7 @@
"description": "intel/compiler: make CLUSTER_BROADCAST always deal with integers",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

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: