nir/large_constants: Properly handle 1-bit bools
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 6 Dec 2018 17:20:26 +0000 (11:20 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Sun, 16 Dec 2018 21:03:02 +0000 (21:03 +0000)
commit487514ae6120fd66d6b58cddea1c27b5fe8573e5
treec923d86edf333591fffd780ab7f331ad53cb919f
parent3191a823726053242696a7d96f37abd5475fadcc
nir/large_constants: Properly handle 1-bit bools

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/nir/nir_opt_large_constants.c
src/compiler/nir_types.cpp