diff options
author | Dave Airlie <[email protected]> | 2017-03-06 08:37:22 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-03-07 08:17:03 +1000 |
commit | 10ae83a9c2243511981215ae908fe66251ffdcd0 (patch) | |
tree | bdfda6c288d603a29e3af8dd9f1092c622d03f37 /src/amd/common/ac_llvm_build.h | |
parent | 7eb85b820440b38ccf6491aabdcf68cac112e0fc (diff) |
radeonsi/ac: move get_image_intr_name to common
This code is used in radv, so move to common build code.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r-- | src/amd/common/ac_llvm_build.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h index d3c537b714b..d6edcded331 100644 --- a/src/amd/common/ac_llvm_build.h +++ b/src/amd/common/ac_llvm_build.h @@ -234,6 +234,11 @@ LLVMValueRef ac_build_bfe(struct ac_llvm_context *ctx, LLVMValueRef input, LLVMValueRef offset, LLVMValueRef width, bool is_signed); +void ac_get_image_intr_name(const char *base_name, + LLVMTypeRef data_type, + LLVMTypeRef coords_type, + LLVMTypeRef rsrc_type, + char *out_name, unsigned out_len); #ifdef __cplusplus } #endif |