OSDN Git Service

nir: Add a bool to int32 lowering pass
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Oct 2018 17:04:09 +0000 (12:04 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Sun, 16 Dec 2018 21:03:02 +0000 (21:03 +0000)
commit11dc1307794e811aa8cfa5c9dace713d82db09ec
tree88595d35198b3a5bc2e3c4e63c07cd68390281c6
parent191a1dce92803a99dae774b47264ff32da7b6689
nir: Add a bool to int32 lowering pass

We also enable it in all of the NIR drivers.

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c
src/broadcom/compiler/vir.c
src/compiler/Makefile.sources
src/compiler/nir/meson.build
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_bool_to_int32.c [new file with mode: 0644]
src/freedreno/ir3/ir3_context.c
src/gallium/drivers/radeonsi/si_shader_nir.c
src/gallium/drivers/vc4/vc4_program.c
src/intel/compiler/brw_nir.c