mesa: remove dead constant pointsize code from ffvertex_prog.c
authorKeith Whitwell <keithw@vmware.com>
Mon, 1 Jun 2009 02:03:46 +0000 (19:03 -0700)
committerKeith Whitwell <keithw@vmware.com>
Tue, 30 Jun 2009 15:13:58 +0000 (16:13 +0100)
src/mesa/main/ffvertex_prog.c

index a8e48253a5d228c7991180d4d8f71e5b224c62e2..c38dba04c785feff261f70b32d2b10a0ae78b21f 100644 (file)
@@ -1524,17 +1524,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.
  */
@@ -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:
     */