aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_bld_const.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-08-04 12:09:52 +0100
committerJosé Fonseca <[email protected]>2009-08-29 09:21:23 +0100
commit1dd7bb17c7331f9ecd0bc830b61ada235a56fe6d (patch)
tree31508bde5eead960ba644ef4ef50d4bc526fc43d /src/gallium/drivers/llvmpipe/lp_bld_const.h
parenta77084ea4b5801dc3ba52f33533176da926aed16 (diff)
llvmpipe: Optimize blend swizzles by using bitmasks instead of shuffles for ubytes.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_const.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_const.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_const.h b/src/gallium/drivers/llvmpipe/lp_bld_const.h
index f2e5deca944..98ed8911a55 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_const.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_const.h
@@ -61,4 +61,14 @@ lp_build_const_aos(union lp_type type,
const unsigned char *swizzle);
+LLVMValueRef
+lp_build_const_shift(union lp_type type,
+ int c);
+
+
+LLVMValueRef
+lp_build_const_mask_aos(union lp_type type,
+ boolean cond[4]);
+
+
#endif /* !LP_BLD_CONST_H */