Skip to content

nir: Add a bool to float32 lowering pass

Jonathan Marek requested to merge flto/mesa:nir-float into master

From @jekstrand's nir-1-bit-bool branch, with improved ior/inot lowering.

ior: fmax instead of fadd allows remove the fsat.

inot: seq(x, 0) can be better than fsub(1, x). On a2xx, it works better with the scalar instruction set.

Merge request reports

Loading