Skip to content

nir/ifind_msb_rev: fix input check

Thomas Andersen requested to merge phomes/mesa:ifind_msb_rev into main

ifind_msb_rev was introduced in a5747f8a.

ifind_msb_rev guards against src0 being both 0 or -1 at the same time. That is always true. This patch changes it to check for those values individually.

Spotted from a compile warning.

CC @gerddie (author of the opcode)

Merge request reports