ac: add ac_build_tbuffer_store_byte() helper
[mesa.git] / src / amd / common / ac_llvm_build.h
index 0162986e454e26505d5e958719367b6bd82f091a..aa6e913c6c696f9adf8971038d87feb99ea705c0 100644 (file)
@@ -362,6 +362,15 @@ ac_build_tbuffer_store_short(struct ac_llvm_context *ctx,
                             bool glc,
                             bool writeonly_memory);
 
+void
+ac_build_tbuffer_store_byte(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,