summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-06-19 17:12:19 +1000
committerDave Airlie <airlied@redhat.com>2020-07-27 13:48:12 +1000
commit8d8e8864cfcb01ea551f1b22041aa837627f21db (patch)
tree9192fefbb3ead98465923a79160a44aff7bfd81d
parente89839bb89b419889520f2548b28acbec78e90ab (diff)
gallivm/nir: allow 64-bit arti ops
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_arit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.c b/src/gallium/auxiliary/gallivm/lp_bld_arit.c
index 53ee00e6767..c0fa834f775 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_arit.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_arit.c
@@ -2070,7 +2070,7 @@ 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 */
+// assert(type.width == 32); /* might want to handle doubles at some point */
inttype = type;
inttype.floating = 0;
@@ -2125,7 +2125,7 @@ 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 */
+// assert(type.width == 32); /* might want to handle doubles at some point */
inttype = type;
inttype.floating = 0;