summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.h
diff options
context:
space:
mode:
authorDaniel Schürmann <[email protected]>2018-02-07 19:40:43 +0100
committerBas Nieuwenhuizen <[email protected]>2018-07-23 23:16:25 +0200
commita6a21e651d2cc17ce35394e2ea38b28127da1b84 (patch)
tree76ac9bf0d4846aec9fdff6c8f9ad123d5ead158e /src/amd/common/ac_llvm_build.h
parent3109c5257b71391b841ffe8f9e66c017f7ee4dea (diff)
ac: add support for 16bit UBO loads
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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index 4e7cbcd5fa0..c5753037e7b 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -253,6 +253,14 @@ LLVMValueRef ac_build_buffer_load_format_gfx9_safe(struct ac_llvm_context *ctx,
bool can_speculate);
LLVMValueRef
+ac_build_tbuffer_load_short(struct ac_llvm_context *ctx,
+ LLVMValueRef rsrc,
+ LLVMValueRef vindex,
+ LLVMValueRef voffset,
+ LLVMValueRef soffset,
+ LLVMValueRef immoffset);
+
+LLVMValueRef
ac_get_thread_id(struct ac_llvm_context *ctx);
#define AC_TID_MASK_TOP_LEFT 0xfffffffc