Skip to content
Snippets Groups Projects
Commit 48acf9d3 authored by Georg Lehmann's avatar Georg Lehmann Committed by Marge Bot
Browse files

nir/lower_int64: replace uadd_sat with ior for find_lsb64 and ufind_msb64


Using ior here is equivalent to using uadd_sat, but works for every driver
and shouldn't hurt anywhere.

I forgot to fix this up when fixing up some vvl errors with zink.

Fixes crashes with the integer_ctz CL CTS tests in zink.

Fixes: 39ec184d ("zink: lower 64 bit find_lsb, ufind_msb and bit_count")
Reviewed-by: Karol Herbst's avatarKarol Herbst <kherbst@redhat.com>
Reviewed-by: default avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <mesa/mesa!30535>
parent fca2e0ff
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment