aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-03-09 16:36:31 +0100
committerSamuel Pitoiset <[email protected]>2018-03-13 14:05:06 +0100
commit28bb6873ec53a554e89ffe8455450b7d97ce7d78 (patch)
tree9d072eb098fd7b9e26abdb2ea15a6f4a5b30c534 /src/amd/common/ac_llvm_build.h
parent895632baefdbc4f89835a71d72f7620d71ad21b0 (diff)
ac/nir: move trim_vector to ac_llvm_build.c
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r--src/amd/common/ac_llvm_build.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index 33d39231571..b5b07fdf096 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -398,6 +398,9 @@ LLVMValueRef ac_build_alloca_undef(struct ac_llvm_context *ac, LLVMTypeRef type,
LLVMValueRef ac_cast_ptr(struct ac_llvm_context *ctx, LLVMValueRef ptr,
LLVMTypeRef type);
+LLVMValueRef ac_trim_vector(struct ac_llvm_context *ctx, LLVMValueRef value,
+ unsigned count);
+
#ifdef __cplusplus
}
#endif