projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e767208
)
gallivm: convert packing to uint64 not double
author
Dave Airlie
<airlied@redhat.com>
Tue, 16 Mar 2021 01:14:15 +0000
(11:14 +1000)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 16 Mar 2021 23:05:10 +0000
(23:05 +0000)
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>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_nir.c
b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
index
c02970f
..
f637f11
100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_nir.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_nir.c
@@
-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: