mesa/src/intel
Jordan Justen fcb72ffd0c intel/compiler/gfx12.5+: Lower 64-bit cluster_broadcast with 32-bit ops
For MTL (verx10 == 125), float64 is supported, but int64 is not.
Therefore we need to lower cluster broadcast using 32-bit int ops.

For gfx12.5+ platforms that support int64, the register regions
used by cluster broadcast aren't supported by the 64-bit pipeline.

On MTL, dEQP-VK.subgroups.clustered.*_double* and
dEQP-VK.subgroups.clustered.*_dvec* were failing to validate the
compiled shader in debug mode, and reportedly gpu-hanging in release
mode.

With this change dEQP-VK.subgroups.clustered.*_double* passed all 48
tests and dEQP-VK.subgroups.clustered.*_dvec* passed all 140 tests on
MTL.

Rework:
 * Move from generator to brw_fs_lower_regioning.cpp. (Suggested by
   Francisco)
 * Apply to verx10 >= 125.. (Suggested by Francisco)

Cc: 23.1 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com> (v1)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22569>
2023-04-20 11:41:10 -07:00
..
blorp anv,blorp,iris: Set PreferredSLMAllocationSize on gfx125+ 2023-04-06 10:54:47 +00:00
ci anv: Work around the spec question about pipeline feedback vs GPL. 2023-04-17 22:43:38 +00:00
common intel/common: Add gt_id to intel_engine_class 2023-04-17 14:43:06 +00:00
compiler intel/compiler/gfx12.5+: Lower 64-bit cluster_broadcast with 32-bit ops 2023-04-20 11:41:10 -07:00
dev intel/dev: set a default valid kmd_type 2023-04-03 23:34:17 +00:00
ds anv: add utrace tracking of frame boundaries 2023-04-13 01:14:38 +00:00
genxml intel/genxml: Add the preferred slm size enum for gen125 2023-04-06 10:54:46 +00:00
isl isl: fix a number of errors on storage format support on Gfx9/12.5 2023-04-18 08:38:55 +00:00
nullhw-layer vulkan/layers: Use PUBLIC instead of VK_LAYER_EXPORT 2023-02-17 03:42:34 +00:00
perf intel/perf: fix OA format selection on MTL 2023-04-03 23:34:17 +00:00
tools intel/dev: create a helper dependency for libintel_dev 2023-03-02 00:01:27 +00:00
vulkan anv: enable shaderStorageImageReadWithoutFormat on Gfx12.5+ 2023-04-19 06:04:52 +00:00
vulkan_hasvk intel/nir: add options to storage image lowering 2023-04-18 08:38:55 +00:00
meson.build blorp: add dependency on idep_intel_dev 2023-03-03 13:04:23 +00:00