Module: Mesa
Branch: 19.2
Commit: b1f505463d5b4fd0ca8a5cee75a836b1b89c8ff7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1f505463d5b4fd0ca8a5cee75a836b1b89c8ff7

Author: Dave Airlie <[email protected]>
Date:   Thu Nov 21 05:53:03 2019 +1000

llvmpipe/ppc: fix if/ifdef confusion in backport.

Fixes: 32aba91c07f (llvmpipe: use ppc64le/ppc64 Large code model for 
JIT-compiled shaders)
Reviewed-by: Dylan Baker <[email protected]>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2131

---

 src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp 
b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 1a47bab7e47..e05c9064990 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -705,7 +705,7 @@ 
lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
     */
    builder.setCodeModel(CodeModel::Large);
 
-#if PIPE_ARCH_LITTLE_ENDIAN
+#ifdef PIPE_ARCH_LITTLE_ENDIAN
    /*
     * Versions of LLVM prior to 4.0 lacked a table entry for "POWER8NVL",
     * resulting in (big-endian) "generic" being returned on

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to