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>
(cherry picked from commit 39ec184db6)
This commit is contained in:
Karol Herbst 2024-08-04 12:40:10 +02:00 committed by Eric Engestrom
parent 660356472a
commit f94623e230
2 changed files with 5 additions and 2 deletions

View file

@ -944,7 +944,7 @@
"description": "zink: lower 64 bit find_lsb, ufind_msb and bit_count",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

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,