Skip to content

nir/ lower_int_to_float: Handle umax and umin

Andreas Baierl requested to merge rellla/mesa:lima-add-umin-umax into master

8e1b75b3 introduced umax/umin in order to lower iand/ior for (n)eq zero. That breaks the lower_int_to_float pass, because umax and umin weren't handled there.

Tested with lima. The other users of nir_lower_int_to_float (etnaviv, freedreno) should also have that issue.

Signed-off-by: Andreas Baierl ichgeh@imkreisrum.de

Merge request reports

Loading