nir: ifind_msb_rev can only have int32 sources

Just like ifind_msb.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19042>
This commit is contained in:
Ian Romanick
2022-10-12 14:51:22 -07:00
committed by Marge Bot
parent 29be4e9e9b
commit 66840b98e4

View File

@@ -498,7 +498,7 @@ for (int bit = bit_size - 1; bit >= 0; bit--) {
}
""")
unop_convert("ifind_msb_rev", tint32, tint, """
unop("ifind_msb_rev", tint32, """
dst = -1;
/* We are looking for the highest bit that's not the same as the sign bit. */
uint32_t sign = src0 & 0x80000000u;