diff options
author | Samuel Pitoiset <[email protected]> | 2019-03-29 08:39:43 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-03-29 09:18:24 +0100 |
commit | cc752dea612fedbb27b5295b754a4b5317d1bd38 (patch) | |
tree | e573fae08deb1ba22f43d3838a79efeaeaf673ee /src | |
parent | a0edceb00dbe4771267615593f416a0dc9ccd52a (diff) |
ac: fix return type for llvm.amdgcn.frexp.exp.i32.64
This fixes the following piglit with RadeonSI
tests/spec/arb_gpu_shader_fp64/execution/built-in-functions/fs-frexp-dvec4.shader_test
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[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 5572b244720..eb9e4504248 100644 --- a/src/amd/common/ac_llvm_build.c +++ b/src/amd/common/ac_llvm_build.c @@ -3942,7 +3942,7 @@ ac_build_frexp_exp(struct ac_llvm_context *ctx, LLVMValueRef src0, type = ctx->i32; } else { intr = "llvm.amdgcn.frexp.exp.i32.f64"; - type = ctx->i64; + type = ctx->i32; } LLVMValueRef params[] = { |