mesa/src/intel
Kenneth Graunke 24600206e5 intel/compiler: Use nir_dest_bit_size() for ballot bit size check
There's no guarantee that this is a SSA value.  Use the helper to handle
both SSA values and register correctly.  Otherwise we read trash when we
encounter a register and make bad decisions on types, possibly leading
to our destination being UQ typed when the VGRF is only 32-bit.

Fixes compilation with -Dintel-clc=enabled since 7f6491b76d
(nir: Combine if_uses with instruction uses) but the bug is much older
than that, circa 2017.  We were just getting lucky before.

Fixes: 069bf7c907 ("i965/fs: Match destination type to size for ballot")
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22374>
(cherry picked from commit 98bcf650f1)
2023-04-20 16:05:01 -07:00
..
blorp intel/blorp: disable REP16 for gfx12+ with R10G10B10_FLOAT_A2 2023-02-16 09:10:44 -08:00
ci ci/iris: Add some recent flakes. 2023-01-04 21:18:08 +00:00
common intel: add missing PS restriction on BDW+ 2023-02-01 13:48:16 -08:00
compiler intel/compiler: Use nir_dest_bit_size() for ballot bit size check 2023-04-20 16:05:01 -07:00
dev Revert "intel/compiler: fine-grained control of dispatch widths" 2023-01-12 00:33:25 +00:00
ds intel/ds: Fix crash when allocating more intel_ds_queues than u_vector was initialized 2023-02-07 18:01:30 -08:00
genxml genxml: fix border color offset field on Gfx12+ 2023-03-15 13:04:21 -07:00
isl isl: update max buffer size for SKL+ 2023-04-05 10:13:56 -07:00
nullhw-layer utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
perf intel/perf: fix OA format selection on MTL 2023-04-05 11:35:49 -07:00
tools anv,hasvk: migrate align32 to the right functions from util 2023-01-06 17:22:16 +00:00
vulkan anv: take care of maxStorageBufferRange being uint32_t 2023-04-05 10:13:56 -07:00
vulkan_hasvk anv: take care of maxStorageBufferRange being uint32_t 2023-04-05 10:13:56 -07:00
meson.build intel: Disable SSE2 instruction set if building for non x86 architectures 2022-11-23 16:57:23 +00:00