summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-08-07 14:33:07 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:24 +0100
commitb441a0b658ac00a38bb41eec8b6f0e22cc3de018 (patch)
treebe92455d6eb6727067e8ad19885d3489adb24e82 /src
parent684a47f0f6a16f9a76844bcd60d8f5fb7e3d1be5 (diff)
llvmpipe: Make lp_const_offset visible.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_const.c2
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_const.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_const.c b/src/gallium/drivers/llvmpipe/lp_bld_const.c
index 73dc9678de..2109a85ceb 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 ed6b185fce..854b729ee6 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);