diff options
author | Samuel Pitoiset <[email protected]> | 2019-03-13 14:52:27 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-03-20 22:19:14 +0100 |
commit | 9d960c17a85f616bb0ff42a1b2a033b7881c3c85 (patch) | |
tree | 76c324a2c3a7d662738ff8c3be45a4557634aa54 /src/amd/common/ac_llvm_build.h | |
parent | 2a9d331898969fd969947bdf7df08c1d9277ad8b (diff) |
ac: use new LLVM 8 intrinsic when storing 16-bit values
vindex is always 0.
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.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h index ae0bdbcfd1c..723aec53cbe 100644 --- a/src/amd/common/ac_llvm_build.h +++ b/src/amd/common/ac_llvm_build.h @@ -344,6 +344,15 @@ ac_build_raw_tbuffer_load(struct ac_llvm_context *ctx, bool can_speculate); void +ac_build_tbuffer_store_short(struct ac_llvm_context *ctx, + LLVMValueRef rsrc, + LLVMValueRef vdata, + LLVMValueRef voffset, + LLVMValueRef soffset, + bool glc, + bool writeonly_memory); + +void ac_build_struct_tbuffer_store(struct ac_llvm_context *ctx, LLVMValueRef rsrc, LLVMValueRef vdata, |