mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
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:
parent
29be4e9e9b
commit
66840b98e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue