diff options
author | Samuel Pitoiset <[email protected]> | 2018-03-02 15:01:30 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-03-05 11:04:30 +0100 |
commit | 459e33900ff7f569ecfe12bf876d2a3e77cb6747 (patch) | |
tree | 35531b64ee99ecbb90756c7f0c7bfb6cef9662b2 /src/amd/common/ac_llvm_build.h | |
parent | fe0647df5a70a4954d9399f0860a12ff691a88ee (diff) |
ac: add ac_build_fract()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r-- | src/amd/common/ac_llvm_build.h | 3 |
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 0a49ad8ca13..1a480ebbcab 100644 --- a/src/amd/common/ac_llvm_build.h +++ b/src/amd/common/ac_llvm_build.h @@ -335,6 +335,9 @@ LLVMValueRef ac_build_bfe(struct ac_llvm_context *ctx, LLVMValueRef input, void ac_build_waitcnt(struct ac_llvm_context *ctx, unsigned simm16); +LLVMValueRef ac_build_fract(struct ac_llvm_context *ctx, LLVMValueRef src0, + unsigned bitsize); + void ac_get_image_intr_name(const char *base_name, LLVMTypeRef data_type, LLVMTypeRef coords_type, |