From 6ed726b8fc6210a41fe325591e1428d19f419108 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 2 Sep 2010 11:32:09 +0100 Subject: gallivm: Pass condition masks as an unsigned bitmask. Much more convenient than boolean arrays. --- src/gallium/auxiliary/gallivm/lp_bld_logic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/auxiliary/gallivm/lp_bld_logic.h') diff --git a/src/gallium/auxiliary/gallivm/lp_bld_logic.h b/src/gallium/auxiliary/gallivm/lp_bld_logic.h index 4e7b4c9938..111daad971 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_logic.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_logic.h @@ -77,9 +77,9 @@ lp_build_select(struct lp_build_context *bld, LLVMValueRef lp_build_select_aos(struct lp_build_context *bld, + unsigned mask, LLVMValueRef a, - LLVMValueRef b, - const boolean cond[4]); + LLVMValueRef b); LLVMValueRef -- cgit v1.2.3