mesa/src/panfrost
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
..
ci panvk: Fix access to unitialized panvk_pipeline_layout::num_sets field 2024-01-17 11:42:25 +00:00
compiler nir: rework and fix rotate lowering 2024-01-22 10:27:44 +00:00
drm-shim panfrost: fix panfrost drm-shim 2024-01-22 09:36:47 +00:00
ds perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
include panfrost: prepare pan_image_view for multiplanar formats 2023-08-07 19:35:12 +00:00
lib panfrost: add support for forcing sample-counts 2024-01-19 13:55:06 +00:00
midgard nir: rework and fix rotate lowering 2024-01-22 10:27:44 +00:00
perf panfrost: Avoid direct accesses to some panfrost_device fields 2023-12-15 11:33:26 +00:00
shared meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00
tools pan/decode: handle more than one panfrost_device 2023-08-14 22:41:10 +00:00
util treewide: Drop nir_ssa_for_src users 2023-09-18 10:25:17 -04:00
vulkan panvk: Fix access to unitialized panvk_pipeline_layout::num_sets field 2024-01-17 11:42:25 +00:00
.clang-format clang-format: Disable formatting by default 2023-08-13 16:48:49 +02:00
meson.build panfrost: drop no-longer-needed libglsl 2023-02-10 14:09:37 +00:00