summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_const.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_const.h
parent53f9a1180ef5a24cd8ffe235e716a9061a129bb3 (diff)
llvmpipe: Get conversions working correctly for all integer types.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_const.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_const.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_const.h b/src/gallium/drivers/llvmpipe/lp_bld_const.h
index fb0e70ad19..18692aa9d8 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_const.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_const.h
@@ -46,6 +46,10 @@ union lp_type type;
unsigned
+lp_mantissa(union lp_type type);
+
+
+unsigned
lp_const_shift(union lp_type type);
@@ -56,6 +60,13 @@ lp_const_offset(union lp_type type);
double
lp_const_scale(union lp_type type);
+double
+lp_const_min(union lp_type type);
+
+
+double
+lp_const_max(union lp_type type);
+
double
lp_const_eps(union lp_type type);