diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c index 591d77e2cee..8743845ae7e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir_soa.c @@ -5898,7 +5898,7 @@ void lp_build_nir_soa_func(struct gallivm_state *gallivm, } { struct lp_type bool_type; - bool_type = lp_int_type(type); + bool_type = lp_uint_type(type); bool_type.width /= 32; lp_build_context_init(&bld.bool_bld, gallivm, bool_type); } @@ -5961,7 +5961,7 @@ void lp_build_nir_soa_func(struct gallivm_state *gallivm, } { struct lp_type bool_type; - bool_type = lp_int_type(elem_type); + bool_type = lp_uint_type(elem_type); bool_type.width /= 32; lp_build_context_init(&bld.scalar_bool_bld, gallivm, bool_type); }