projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1154443
)
intel/compiler: make CLUSTER_BROADCAST always deal with integers
author
Iván Briano
<ivan.briano@intel.com>
Tue, 15 Feb 2022 22:33:28 +0000
(14:33 -0800)
committer
Marge Bot
<emma+marge@anholt.net>
Wed, 16 Feb 2022 21:36:42 +0000
(21:36 +0000)
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>
src/intel/compiler/brw_fs_lower_regioning.cpp
patch
|
blob
|
history
diff --git
a/src/intel/compiler/brw_fs_lower_regioning.cpp
b/src/intel/compiler/brw_fs_lower_regioning.cpp
index
0ddd47c
..
e1fe9ea
100644
(file)
--- 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: