draw: fse works with elts, remove assert
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 22 May 2008 12:37:48 +0000 (13:37 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 23 May 2008 08:16:57 +0000 (09:16 +0100)
src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c

index 984fbb676717fd7609ac864d7e02c64e2b25b87d..7fefd391a6aec9e6200cd2648464f9d000f09456 100644 (file)
@@ -78,11 +78,6 @@ static void fse_prepare( struct draw_pt_middle_end *middle,
    boolean need_psize = 0;
    
 
-   if (draw->pt.user.elts) {
-      assert(0);
-      return ;
-   }
-
    if (!draw->render->set_primitive( draw->render, 
                                      prim )) {
       assert(0);
@@ -250,9 +245,8 @@ static void fse_run_linear( struct draw_pt_middle_end *middle,
    }
 
    /* Single routine to fetch vertices, run shader and emit HW verts.
-    * Clipping and viewport transformation are done elsewhere --
-    * either by the API or on hardware, or for some other reason not
-    * required...
+    * Clipping is done elsewhere -- either by the API or on hardware,
+    * or for some other reason not required...
     */
    fse->active->run_linear( fse->active, 
                             start, count,