From: José Fonseca Date: Fri, 7 Aug 2009 13:33:07 +0000 (+0100) Subject: llvmpipe: Make lp_const_offset visible. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b441a0b658ac00a38bb41eec8b6f0e22cc3de018;p=mesa.git llvmpipe: Make lp_const_offset visible. --- diff --git a/src/gallium/drivers/llvmpipe/lp_bld_const.c b/src/gallium/drivers/llvmpipe/lp_bld_const.c index 73dc9678de8..2109a85ceb8 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_const.c +++ b/src/gallium/drivers/llvmpipe/lp_bld_const.c @@ -59,7 +59,7 @@ lp_const_shift(union lp_type type) } -static unsigned +unsigned lp_const_offset(union lp_type type) { if(type.floating || type.fixed) diff --git a/src/gallium/drivers/llvmpipe/lp_bld_const.h b/src/gallium/drivers/llvmpipe/lp_bld_const.h index ed6b185fceb..854b729ee6f 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_const.h +++ b/src/gallium/drivers/llvmpipe/lp_bld_const.h @@ -49,6 +49,10 @@ unsigned lp_const_shift(union lp_type type); +unsigned +lp_const_offset(union lp_type type); + + double lp_const_scale(union lp_type type);