diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.c b/src/gallium/auxiliary/gallivm/lp_bld_arit.c index 53ee00e6767..dbd526d9161 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_arit.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_arit.c @@ -2070,8 +2070,6 @@ lp_build_trunc(struct lp_build_context *bld, LLVMTypeRef int_vec_type = bld->int_vec_type; LLVMTypeRef vec_type = bld->vec_type; - assert(type.width == 32); /* might want to handle doubles at some point */ - inttype = type; inttype.floating = 0; lp_build_context_init(&intbld, bld->gallivm, inttype); @@ -2125,8 +2123,6 @@ lp_build_round(struct lp_build_context *bld, LLVMTypeRef int_vec_type = bld->int_vec_type; LLVMTypeRef vec_type = bld->vec_type; - assert(type.width == 32); /* might want to handle doubles at some point */ - inttype = type; inttype.floating = 0; lp_build_context_init(&intbld, bld->gallivm, inttype);