summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_llvm_build.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-02-16 22:41:16 +0100
committerMarek Olšák <[email protected]>2017-02-18 02:58:43 +0100
commit660b55e6d9aa704022476a50e264e56ecaa3fc2d (patch)
tree3d0f9b2101d8075abc838d98149f4d4b3969553a /src/amd/common/ac_llvm_build.h
parent73d1c8c686a8e8fe600098cbf8a4f8b27acef105 (diff)
radeonsi: stop using TGSI_OPCODE_CLAMP by moving it amd/common
Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_build.h')
-rw-r--r--src/amd/common/ac_llvm_build.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/common/ac_llvm_build.h b/src/amd/common/ac_llvm_build.h
index 3258e5ef54a..57bfdbdecd6 100644
--- a/src/amd/common/ac_llvm_build.h
+++ b/src/amd/common/ac_llvm_build.h
@@ -190,6 +190,8 @@ LLVMValueRef ac_emit_umsb(struct ac_llvm_context *ctx,
LLVMValueRef arg,
LLVMTypeRef dst_type);
+LLVMValueRef ac_emit_clamp(struct ac_llvm_context *ctx, LLVMValueRef value);
+
#ifdef __cplusplus
}
#endif