From 64cc71167f986f6cd29abb228295cf6441b07832 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 22 Aug 2009 12:37:12 +0100 Subject: llvmpipe: Get conversions working correctly for all integer types. --- src/gallium/drivers/llvmpipe/lp_bld_const.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_bld_const.h') 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 @@ -45,6 +45,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); -- cgit v1.2.3