gallivm: convert packing to uint64 not double

Fixes some issues with later inttopotr casting.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9616>
This commit is contained in:
Dave Airlie
2021-03-16 11:14:15 +10:00
committed by Marge Bot
parent e767208069
commit c16f63b343
+1 -1
View File
@@ -877,7 +877,7 @@ static LLVMValueRef do_alu_action(struct lp_build_nir_context *bld_base,
break;
case nir_op_pack_64_2x32_split: {
LLVMValueRef tmp = merge_64bit(bld_base, src[0], src[1]);
result = LLVMBuildBitCast(builder, tmp, bld_base->dbl_bld.vec_type, "");
result = LLVMBuildBitCast(builder, tmp, bld_base->uint64_bld.vec_type, "");
break;
}
case nir_op_u2f32: