mesa/src/amd
Karol Herbst f2b7c4ce29 nir: rework and fix rotate lowering
No driver supports urol/uror on all bit sizes. Intel gen11+ only for 16
and 32 bit, Nvidia GV100+ only for 32 bit. Etnaviv can support it on 8,
16 and 32 bit.

Also turn the `lower` into a `has` option as only two drivers actually
support `uror` and `urol` at this momemt.

Fixes crashes with CL integer_rotate on iris and nouveau since we emit
urol for `rotate`.

v2: always lower 64 bit

Fixes: fe0965afa6 ("spirv: Don't use libclc for rotate")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by (Intel and nir): Ian Romanick <ian.d.romanick@intel.com>

Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27090>
2024-01-22 10:27:44 +00:00
..
addrlib amd/common: update addrlib for gfx11.5 2023-10-20 07:32:34 +00:00
ci amd/ci: consider much more of dEQP-VK.query_pool.statistics_query.host_query_reset.* to be flaky 2024-01-19 11:12:46 +00:00
common nir: rework and fix rotate lowering 2024-01-22 10:27:44 +00:00
compiler aco: remove boolean shuffle isel 2024-01-19 20:13:34 +00:00
drm-shim amd: Use align64 instead of ALIGN for 64 bit value parameter 2024-01-03 22:02:17 +00:00
llvm ac/llvm: implement as_uniform and ballot_relaxed 2024-01-19 20:13:34 +00:00
registers ac/registers: allow to parse GCVM_L2_PROTECTION_FAULT_STATUS 2023-10-30 08:10:22 +00:00
vpelib amd/vpelib: Solve the downscaling problem for 2 tap 2024-01-11 19:21:17 +00:00
vulkan radv: fix indirect draws with NULL index buffer on GFX10 2024-01-22 08:14:23 +00:00
meson.build amd,radeonsi: add libvpe 2023-12-01 00:23:38 +00:00