llvmpipe: Make lp_const_offset visible.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 7 Aug 2009 13:33:07 +0000 (14:33 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 29 Aug 2009 08:21:24 +0000 (09:21 +0100)
src/gallium/drivers/llvmpipe/lp_bld_const.c
src/gallium/drivers/llvmpipe/lp_bld_const.h

index 73dc9678de8aa8a9af790df11020b7b5149d3054..2109a85ceb86a9906f5d5991fe435b42dac246db 100644 (file)
@@ -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)
index ed6b185fceb4586bbcc2bcdd27492ee7785eabc5..854b729ee6f47ac031aeaecb73e494f520b63ecf 100644 (file)
@@ -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);