diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-10 19:01:05 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-10 19:03:18 -0800 |
commit | 7c2634dd71bc7829c182b485f0c44ba05e8237f1 (patch) | |
tree | 687109d2b19908cfbd11686c1780cd39d5f22ec1 | |
parent | 229db2b8ade33571e4cece1d838234895db220c2 (diff) |
i965g: ifdef out unused functions.
-rw-r--r-- | src/gallium/drivers/i965/brw_swtnl.c | 6 | ||||
-rw-r--r-- | 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 464013e7c4..f96301e99e 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 8a16205d2f..5dcbd597dd 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]. |