Mesa (lp-binning): llvmpipe: remove unused fb parameter

Brian Paul brianp at kemper.freedesktop.org
Sat Dec 12 01:01:19 UTC 2009


Module: Mesa
Branch: lp-binning
Commit: 205da96fc64a197b7d1a15010456402030d8893b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=205da96fc64a197b7d1a15010456402030d8893b

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Dec 11 11:25:22 2009 -0700

llvmpipe: remove unused fb parameter

---

 src/gallium/drivers/llvmpipe/lp_rast.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c b/src/gallium/drivers/llvmpipe/lp_rast.c
index 2c9c13a..7083029 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/drivers/llvmpipe/lp_rast.c
@@ -561,7 +561,6 @@ static void
 rasterize_bins( struct lp_rasterizer *rast,
                 unsigned thread_index,
                 struct lp_bins *bins,
-                const struct pipe_framebuffer_state *fb,
                 bool write_depth )
 {
    /* loop over tile bins, rasterize each */
@@ -626,7 +625,7 @@ lp_rasterize_bins( struct lp_rasterizer *rast,
    if (rast->num_threads == 0) {
       /* no threading */
       lp_bin_iter_begin( bins );
-      rasterize_bins( rast, 0, bins, fb, write_depth );
+      rasterize_bins( rast, 0, bins, write_depth );
 
       /* reset bins and put into the empty queue */
       lp_reset_bins( bins );
@@ -690,7 +689,7 @@ thread_func( void *init_data )
       if (debug)
          debug_printf("thread %d doing work\n", task->thread_index);
       rasterize_bins(rast, task->thread_index,
-                     bins, rast->fb, rast->write_depth);
+                     bins, rast->write_depth);
       
       release_current_bin( rast );
 




More information about the mesa-commit mailing list