summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_conv.h
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-22 12:37:12 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:39 +0100
commit64cc71167f986f6cd29abb228295cf6441b07832 (patch)
tree4c7c26bf9563e041673fc9e2051374d30df23a50 /src/gallium/drivers/llvmpipe/lp_bld_conv.h
parent53f9a1180ef5a24cd8ffe235e716a9061a129bb3 (diff)
llvmpipe: Get conversions working correctly for all integer types.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_conv.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_conv.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_conv.h b/src/gallium/drivers/llvmpipe/lp_bld_conv.h
index b1e3da7e9c..05c1ef2a10 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_conv.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_conv.h
@@ -49,6 +49,12 @@ lp_build_clamped_float_to_unsigned_norm(LLVMBuilderRef builder,
unsigned dst_width,
LLVMValueRef src);
+LLVMValueRef
+lp_build_unsigned_norm_to_float(LLVMBuilderRef builder,
+ unsigned src_width,
+ union lp_type dst_type,
+ LLVMValueRef src);
+
void
lp_build_conv(LLVMBuilderRef builder,
@@ -57,5 +63,11 @@ lp_build_conv(LLVMBuilderRef builder,
const LLVMValueRef *srcs, unsigned num_srcs,
LLVMValueRef *dsts, unsigned num_dsts);
+void
+lp_build_conv_mask(LLVMBuilderRef builder,
+ union lp_type src_type,
+ union lp_type dst_type,
+ const LLVMValueRef *src, unsigned num_srcs,
+ LLVMValueRef *dst, unsigned num_dsts);
#endif /* !LP_BLD_CONV_H */