diff options
author | Dave Airlie <[email protected]> | 2017-03-06 06:05:58 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-03-06 06:05:58 +1000 |
commit | b19caecbd6f310c1663b0cfe483d113ae3bd5fe2 (patch) | |
tree | 3059fe3b713fe8049a1048b883946d09c8f7e02a /src | |
parent | a247215469783a706ddac85ccef36e513a2e55bc (diff) |
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]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/common/ac_llvm_build.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c index a9dc51b68c2..acda5e26db7 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, |