Mesa (master): llvmpipe: Remove useless draw_install_pstipple_stage call.

Stephane Marchesin marcheu at kemper.freedesktop.org
Thu Dec 29 12:28:52 PST 2011


Module: Mesa
Branch: master
Commit: ded02bd54b5925ee222d7f426850312236b4f59d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ded02bd54b5925ee222d7f426850312236b4f59d

Author: Stéphane Marchesin <marcheu at chromium.org>
Date:   Wed Dec 28 17:34:56 2011 -0800

llvmpipe: Remove useless draw_install_pstipple_stage call.

It is #ifdef'd out, and is already called unconditionnaly a couple lines above.

Reviewed-By: Jose Fonseca <jfonseca at vmware.com>

---

 src/gallium/drivers/llvmpipe/lp_context.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c
index b6ac068..c19272f 100644
--- a/src/gallium/drivers/llvmpipe/lp_context.c
+++ b/src/gallium/drivers/llvmpipe/lp_context.c
@@ -229,11 +229,6 @@ llvmpipe_create_context( struct pipe_screen *screen, void *priv )
    draw_wide_point_threshold(llvmpipe->draw, 10000.0);
    draw_wide_line_threshold(llvmpipe->draw, 10000.0);
 
-#if USE_DRAW_STAGE_PSTIPPLE
-   /* Do polygon stipple w/ texture map + frag prog? */
-   draw_install_pstipple_stage(llvmpipe->draw, &llvmpipe->pipe);
-#endif
-
    lp_reset_counters();
 
    gallivm_register_garbage_collector_callback(garbage_collect_callback,



More information about the mesa-commit mailing list