projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fe8d04
)
gallivm: use #ifdef not #if for PIPE_ARCH_BIG_ENDIAN
author
Dave Airlie
<airlied@redhat.com>
Thu, 19 Jan 2017 04:39:10 +0000
(14:39 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 19 Jan 2017 06:00:53 +0000
(16:00 +1000)
This fixes the build on ppc/s390.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_gather.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_gather.c
b/src/gallium/auxiliary/gallivm/lp_bld_gather.c
index 2d1fb65b15fadf24b8e734ad9cfa99499459b2a2..ccd03765c73ea12e2f27d2ccff60b907199e9a89 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_gather.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_gather.c
@@
-527,7
+527,7
@@
lp_build_gather(struct gallivm_state *gallivm,
if (vec_zext) {
res = LLVMBuildZExt(gallivm->builder, res, res_t, "");
if (vector_justify) {
-#if PIPE_ARCH_BIG_ENDIAN
+#if
def
PIPE_ARCH_BIG_ENDIAN
unsigned sv = dst_type.width - src_width;
res = LLVMBuildShl(gallivm->builder, res,
lp_build_const_int_vec(gallivm, res_type, sv), "");