diff options
author | James Benton <[email protected]> | 2012-06-26 15:00:14 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-06-27 11:16:18 +0100 |
commit | 789436f1e07a68b632937d9f2101efc5e68f7499 (patch) | |
tree | d80bd4c7cd58d2c644231138722436cd655a8879 /src/gallium/auxiliary/gallivm/lp_bld_printf.h | |
parent | 45fc069600ddbfe07a0a0cd5280161a8c7c55dd0 (diff) |
gallivm: Added a generic lp_build_print_value which prints a LLVMValueRef.
Updated lp_build_printf to share common code.
Removed specific lp_build_print_vecX.
Reviewed-by: José Fonseca <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_printf.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_printf.h | 13 |
1 files changed, 3 insertions, 10 deletions
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 |