This new pass lowers ints and bools to floats. It allows hardware that doesn't have native integers (e.g. Mali4x0) use the same code paths as modern hardware.
It uses newly introduced pass to gather SSA types and should be used as late as possible.
443c5a3cd62 nir: add int_to_float lowering pass
src/compiler/Makefile.sources | 1 +
src/compiler/nir/meson.build | 1 +
src/compiler/nir/nir.h | 1 +
src/compiler/nir/nir_lower_int_to_float.c | 212 ++++++++++++++++++++++++++++++
4 files changed, 215 insertions(+)