summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-02-25 23:40:52 +0100
committerMarek Olšák <[email protected]>2017-03-03 17:30:07 +0100
commit94811dc66c2318c271ed41265beffbb9df196577 (patch)
treefd60d8ffc55214bfd641c3627bba6b6782444ba5 /src/amd/common/ac_llvm_build.h
parent52660484c1b3f0e9237b7d4642c5503db5cd53cf (diff)
radeonsi: move SI.vs.load.input building into amd/common
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r--src/amd/common/ac_llvm_build.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index aa99e92e256..ae96d56abb9 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -145,6 +145,12 @@ ac_build_buffer_load(struct ac_llvm_context *ctx,
unsigned slc,
bool readonly_memory);
+LLVMValueRef ac_build_buffer_load_format(struct ac_llvm_context *ctx,
+ LLVMValueRef rsrc,
+ LLVMValueRef vindex,
+ LLVMValueRef voffset,
+ bool readonly_memory);
+
LLVMValueRef
ac_get_thread_id(struct ac_llvm_context *ctx);