gallivm: add integer and unsigned mod arit functions. (v2)
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_arit.h
index c78b61decf08bb9ba491b5a4b6b8da2bb0d1d003..aeb987ff3524a5a6ef973277428969affdabce5d 100644 (file)
@@ -249,4 +249,9 @@ lp_build_log2_approx(struct lp_build_context *bld,
                      LLVMValueRef *p_floor_log2,
                      LLVMValueRef *p_log2);
 
+LLVMValueRef
+lp_build_mod(struct lp_build_context *bld,
+             LLVMValueRef x,
+             LLVMValueRef y);
+
 #endif /* !LP_BLD_ARIT_H */