From 7c2634dd71bc7829c182b485f0c44ba05e8237f1 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 10 Feb 2010 19:01:05 -0800 Subject: [PATCH] i965g: ifdef out unused functions. --- src/gallium/drivers/i965/brw_swtnl.c | 6 +++--- src/gallium/drivers/i965/brw_vs_emit.c | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/i965/brw_swtnl.c b/src/gallium/drivers/i965/brw_swtnl.c index 464013e7c40..f96301e99e6 100644 --- a/src/gallium/drivers/i965/brw_swtnl.c +++ b/src/gallium/drivers/i965/brw_swtnl.c @@ -3,6 +3,8 @@ #include "brw_pipe_rast.h" +#if 0 + static GLboolean need_swtnl( struct brw_context *brw ) { const struct pipe_rasterizer_state *rast = &brw->curr.rast->templ; @@ -90,6 +92,4 @@ static GLboolean need_swtnl( struct brw_context *brw ) return FALSE; } - - - +#endif diff --git a/src/gallium/drivers/i965/brw_vs_emit.c b/src/gallium/drivers/i965/brw_vs_emit.c index 8a16205d2f6..5dcbd597ddc 100644 --- a/src/gallium/drivers/i965/brw_vs_emit.c +++ b/src/gallium/drivers/i965/brw_vs_emit.c @@ -908,6 +908,7 @@ get_constant(struct brw_vs_compile *c, } +#if 0 /* TODO: relative addressing! */ @@ -936,6 +937,8 @@ static struct brw_reg get_reg( struct brw_vs_compile *c, } } +#endif + /** * Indirect addressing: get reg[[arg] + offset]. -- 2.30.2