Module: Mesa Branch: master Commit: b19caecbd6f310c1663b0cfe483d113ae3bd5fe2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b19caecbd6f310c1663b0cfe483d113ae3bd5fe2
Author: Dave Airlie <[email protected]> Date: Mon Mar 6 06:05:58 2017 +1000 radeon/ac: fix intrinsic version check Reported-by: [email protected] Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100068 Signed-off-by: Dave Airlie <[email protected]> --- src/amd/common/ac_llvm_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index a9dc51b..acda5e2 100644 --- a/src/amd/common/ac_llvm_build.c +++ b/src/amd/common/ac_llvm_build.c @@ -736,7 +736,7 @@ LLVMValueRef ac_build_buffer_load_format(struct ac_llvm_context *ctx, LLVMValueRef voffset, bool readonly_memory) { - if (HAVE_LLVM >= 0x0309) { + if (HAVE_LLVM >= 0x0400) { LLVMValueRef args [] = { LLVMBuildBitCast(ctx->builder, rsrc, ctx->v4i32, ""), vindex, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
