mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
gallivm/nir: allow 64-bit arit ops
Fixes: dEQP-VK.glsl.builtin.precision_double.round.* dEQP-VK.glsl.builtin.precision_double.roundeven.* dEQP-VK.glsl.builtin.precision_double.trunc.* Reviewed-by: Roland Scheidegger <sroland@vmware.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6381>
This commit is contained in:
parent
dc6313b098
commit
b31e8460a6
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue