nir: Add a bool to int32 lowering pass

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 16 December 2018 21:03 EST

We also enable it in all of the NIR drivers.

11dc130779 nir: Add a bool to int32 lowering pass
src/amd/vulkan/radv_pipeline.c | 4 +
src/broadcom/compiler/vir.c | 2 +
src/compiler/Makefile.sources | 1 +
src/compiler/nir/meson.build | 1 +
src/compiler/nir/nir.h | 1 +
src/compiler/nir/nir_lower_bool_to_int32.c | 160 +++++++++++++++++++++++++++
src/freedreno/ir3/ir3_context.c | 1 +
src/gallium/drivers/radeonsi/si_shader_nir.c | 2 +
src/gallium/drivers/vc4/vc4_program.c | 2 +
src/intel/compiler/brw_nir.c | 2 +
10 files changed, 176 insertions(+)

Upstream: cgit.freedesktop.org


  • Share