From 789436f1e07a68b632937d9f2101efc5e68f7499 Mon Sep 17 00:00:00 2001 From: James Benton Date: Tue, 26 Jun 2012 15:00:14 +0100 Subject: gallivm: Added a generic lp_build_print_value which prints a LLVMValueRef. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated lp_build_printf to share common code. Removed specific lp_build_print_vecX. Reviewed-by: José Fonseca Reviewed-by: Brian Paul --- src/gallium/auxiliary/gallivm/lp_bld_printf.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/gallium/auxiliary/gallivm/lp_bld_printf.h') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_printf.h b/src/gallium/auxiliary/gallivm/lp_bld_printf.h index 7a2b26d41f4..ede93cc834e 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_printf.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_printf.h @@ -39,16 +39,9 @@ lp_build_printf(struct gallivm_state *gallivm, const char *fmt, ...); LLVMValueRef -lp_build_print_vec4(struct gallivm_state *gallivm, - const char *msg, LLVMValueRef vec); - -LLVMValueRef -lp_build_print_ivec4(struct gallivm_state *gallivm, - const char *msg, LLVMValueRef vec); - -LLVMValueRef -lp_build_print_uvec16(struct gallivm_state *gallivm, - const char *msg, LLVMValueRef vec); +lp_build_print_value(struct gallivm_state *gallivm, + const char *msg, + LLVMValueRef value); #endif -- cgit v1.2.3