aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_logic.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-09-02 11:32:09 +0100
committerJosé Fonseca <[email protected]>2010-09-05 10:17:51 +0100
commit6ed726b8fc6210a41fe325591e1428d19f419108 (patch)
treea8f6a8d64f8a43d4d4095783e16e57e62512ed99 /src/gallium/auxiliary/gallivm/lp_bld_logic.h
parent079763f74648fef051ee5b8f7d730f7fc1ba27d5 (diff)
gallivm: Pass condition masks as an unsigned bitmask.
Much more convenient than boolean arrays.
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_logic.h')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_logic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_logic.h b/src/gallium/auxiliary/gallivm/lp_bld_logic.h
index 4e7b4c9938e..111daad9712 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