Mesa (dlist-statechange-shortcircuit): mesa: remove dead constant pointsize code from ffvertex_prog.c

Keith Whitwell keithw at kemper.freedesktop.org
Tue Jun 30 16:06:04 UTC 2009


Module: Mesa
Branch: dlist-statechange-shortcircuit
Commit: cea259f0392766e8a2e4749c6d5277d866abbc3b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=cea259f0392766e8a2e4749c6d5277d866abbc3b

Author: Keith Whitwell <keithw at vmware.com>
Date:   Sun May 31 19:03:46 2009 -0700

mesa: remove dead constant pointsize code from ffvertex_prog.c

---

 src/mesa/main/ffvertex_prog.c |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c
index a8e4825..c38dba0 100644
--- a/src/mesa/main/ffvertex_prog.c
+++ b/src/mesa/main/ffvertex_prog.c
@@ -1525,17 +1525,6 @@ static void build_atten_pointsize( struct tnl_program *p )
 
 
 /**
- * Emit constant point size.
- */
-static void build_constant_pointsize( struct tnl_program *p )
-{
-   struct ureg state_size = register_param1(p, STATE_POINT_SIZE);
-   struct ureg out = register_output(p, VERT_RESULT_PSIZ);
-   emit_op1(p, OPCODE_MOV, out, WRITEMASK_X, state_size);
-}
-
-
-/**
  * Pass-though per-vertex point size, from user's point size array.
  */
 static void build_array_pointsize( struct tnl_program *p )
@@ -1576,12 +1565,6 @@ static void build_tnl_program( struct tnl_program *p )
       build_atten_pointsize(p);
    else if (p->state->point_array)
       build_array_pointsize(p);
-#if 0
-   else
-      build_constant_pointsize(p);
-#else
-   (void) build_constant_pointsize;
-#endif
 
    /* Finish up:
     */




More information about the mesa-commit mailing list