zink: lower 64 bit find_lsb, ufind_msb and bit_count

Cc: mesa-stable
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30504>
This commit is contained in:
Karol Herbst
2024-08-04 12:40:10 +02:00
committed by Marge Bot
parent 9155e0a887
commit 39ec184db6

View File

@@ -1370,7 +1370,10 @@ zink_screen_init_compiler(struct zink_screen *screen)
.lower_uadd_sat = true,
.lower_usub_sat = true,
.lower_vector_cmp = true,
.lower_int64_options = 0,
.lower_int64_options =
nir_lower_bit_count64 |
nir_lower_find_lsb64 |
nir_lower_ufind_msb64,
.lower_doubles_options = nir_lower_dround_even,
.lower_uniforms_to_ubo = true,
.has_fsub = true,